hadoop.sh找不到/访问TEZ jar:没有这样的文件或目录错误

时间:2014-08-27 15:43:48

标签: shell hadoop permissions hdfs yarn

我尝试按照官方设置指南中的步骤安装Apache TEZ,但在编辑$HADOOP_HOME/etc/hadoop/hadoop-env.sh以加载TEZ jar之后听起来有点出错。事实上,每次调用hadoop.sh时,我都会收到以下消息:

$ hadoop dfs -ls /
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/Programs/hadoop-2.5.0/contrib/capacity-scheduler/*.jar:/home/arbi/Programs/hadoop-2.5.0/etc/hadoop]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-api-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-common-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-dag-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-mapreduce-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-mapreduce-examples-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-runtime-internals-0.4.1-incubating.jar]: No such file or directory
/home/arbi/Programs/hadoop-2.5.0/etc/hadoop/hadoop-env.sh: line 44: [/home/arbi/bin/tez/tez-dist/target/tez-0.4.1-incubating/tez-0.4.1-incubating/tez-runtime-library-0.4.1-incubating.jar]: No such file or directory
Found 2 items
drwxr-xr-x: arbi supergroup 0 2014-08-27 16:51 /apps
drwxr-xr-x: arbi supergroup 0 2014-08-27 16:47 /user

TEZ罐子在正确的目录中,想知道这里的错误!为什么hadoop无法访问/找到罐子

0 个答案:

没有答案