关于yarn jar error Command "jar" not found.

在使用

 yarn jar ../share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.7.jar wordcount /data/hdfs-site.xml /out/02

跳出error Command "jar" not found.

然后进入bin目录下

./yarn jar ../share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.7.jar wordcount /data/hdfs-site.xml /out/02

就可以正常使用了

猜你喜欢

转载自blog.csdn.net/qq_37321741/article/details/81198930
jar