Open yejg2017 opened 6 years ago
jar path is /usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar so that's probably your issue
cd $HADOOP_PREFIX -- run the mapreduce bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.0.jar grep input output 'dfs[a-z.]+'
After building the docker images,when I run the command in the container,got error: Not a valid JAR: /usr/local/hadoop-2.7.0/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar And how can I solve this issue