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:
Xiaoyu Yao 2019-03-19 09:55:52 -07:00 committed by GitHub
parent 55b3a718e9
commit 992489c11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -49,3 +49,9 @@ docker-compose scale datanode=5
```
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.

View File

@ -17,7 +17,7 @@
version: "3"
services:
datanode:
image: apache/hadoop-runner
image: apache/hadoop-runner:jdk11
privileged: true #required by the profiler
volumes:
- ../..:/opt/hadoop
@ -28,7 +28,7 @@ services:
env_file:
- ./docker-config
om:
image: apache/hadoop-runner
image: apache/hadoop-runner:jdk11
privileged: true #required by the profiler
volumes:
- ../..:/opt/hadoop
@ -41,7 +41,7 @@ services:
- ./docker-config
command: ["/opt/hadoop/bin/ozone","om"]
scm:
image: apache/hadoop-runner
image: apache/hadoop-runner:jdk11
privileged: true #required by the profiler
volumes:
- ../..:/opt/hadoop