sequenceiq / hadoop-docker

Hadoop docker image
https://registry.hub.docker.com/u/sequenceiq/hadoop-docker/
Apache License 2.0
1.21k stars 560 forks source link

Get error when run bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar grep input output 'dfs[a-z.]+' #79

Open yejg2017 opened 6 years ago

yejg2017 commented 6 years ago

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

brizzbuzz commented 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

ruifigueiredo commented 5 years ago

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.]+'