单击运行可以正常import pyhdfs 但是在hadoop集群上就报错 importerror

单击运行可以正常导入pyhdfs 但是在hadoop集群上就报错

Container: container_1528938271503_0001_01_000004 on data1_43759_1528938463504
================================================================================
LogType:stderr
Log Upload Time:Thu Jun 14 09:07:43 +0800 2018
LogLength:706
Log Contents:
+ __mrjob_PWD=/usr/local/hadoop/hadoop_data/nm-local-dir/usercache/hduser/appcache/application_1528938271503_0001/container_1528938271503_0001_01_000004
+ exec
+ python -c import fcntl; fcntl.flock(9, fcntl.LOCK_EX)
+ export PYTHONPATH=/usr/local/hadoop/hadoop_data/nm-local-dir/usercache/hduser/appcache/application_1528938271503_0001/container_1528938271503_0001_01_000004/mrjob.zip:
+ exec
+ cd /usr/local/hadoop/hadoop_data/nm-local-dir/usercache/hduser/appcache/application_1528938271503_0001/container_1528938271503_0001_01_000004
+ python mrSVM.py --step-num=0 --mapper
Traceback (most recent call last):
  File "mrSVM.py", line 18, in <module>
    import pyhdfs
ImportError: No module named pyhdfs
End of LogType:stderr

LogType:stdout
Log Upload Time:Thu Jun 14 09:07:43 +0800 2018
LogLength:0
Log Contents:
End of LogType:stdout
阅读更多
换一批

没有更多推荐了,返回首页