HDDS-1215. Change hadoop-runner and apache/hadoop base image to use Java8. Contributed by Xiaoyu Yao.
This closes #615
This commit is contained in:
parent
55b3a718e9
commit
992489c11c
|
@ -49,3 +49,9 @@ docker-compose scale datanode=5
|
||||||
```
|
```
|
||||||
|
|
||||||
Usually the key webui ports are published on the docker host.
|
Usually the key webui ports are published on the docker host.
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
|
||||||
|
The base image used here is apache/hadoop-runner, which runs with JDK8 by default.
|
||||||
|
You may run with JDK11 by specify apache/hadoop-runner:jdk11 as base image in simple mode.
|
||||||
|
But in secure mode, JDK 11 is not fully supported yet due to JDK8 dependencies from hadoop-common jars.
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
datanode:
|
datanode:
|
||||||
image: apache/hadoop-runner
|
image: apache/hadoop-runner:jdk11
|
||||||
privileged: true #required by the profiler
|
privileged: true #required by the profiler
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
om:
|
om:
|
||||||
image: apache/hadoop-runner
|
image: apache/hadoop-runner:jdk11
|
||||||
privileged: true #required by the profiler
|
privileged: true #required by the profiler
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
|
@ -41,7 +41,7 @@ services:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
command: ["/opt/hadoop/bin/ozone","om"]
|
command: ["/opt/hadoop/bin/ozone","om"]
|
||||||
scm:
|
scm:
|
||||||
image: apache/hadoop-runner
|
image: apache/hadoop-runner:jdk11
|
||||||
privileged: true #required by the profiler
|
privileged: true #required by the profiler
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
|
|
Loading…
Reference in New Issue