Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.4.1, 0.5.0
Description
hadoop31-mapreduce fails with:
JAR does not exist or is not a normal file: /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.2.jar
because 3.1 test is being run with HADOOP_VERSION=3:
Creating network "hadoop31_default" with the default driver Pulling nm (flokkr/hadoop:3)... 3: Pulling from flokkr/hadoop Digest: sha256:62e3488e64ff8c0406752fc4f263ae2549e04fedf02534469913c496c6a89d78 Status: Downloaded newer image for flokkr/hadoop:3
which has Hadoop 3.2.0 instead of 3.1.2:
docker run -it --entrypoint /bin/bash flokkr/hadoop:3 -c 'ls -la /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples*'
-rw-r--r-- 1 hadoop flokkr 316570 Jan 8 2019 /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.0.jar
docker run -it --entrypoint /bin/bash flokkr/hadoop:3.1.2 -c 'ls -la /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples*'
-rw-r--r-- 1 hadoop flokkr 316380 Jan 29 2019 /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.2.jar
This only happens with acceptance.sh, not when directly using test-all.sh, because the former explicitly defines HADOOP_VERSION:
export HADOOP_VERSION=3
so the correct value from .env file is ignored:
Attachments
Issue Links
- links to