You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by xy...@apache.org on 2019/03/19 17:25:09 UTC
[hadoop] branch ozone-0.4 updated: HDDS-1215. Change hadoop-runner
and apache/hadoop base image to use Java8. Contributed by Xiaoyu Yao.
This is an automated email from the ASF dual-hosted git repository.
xyao pushed a commit to branch ozone-0.4
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/ozone-0.4 by this push:
new a55a295 HDDS-1215. Change hadoop-runner and apache/hadoop base image to use Java8. Contributed by Xiaoyu Yao.
a55a295 is described below
commit a55a295c7adec4e23bc7d9dfbd378860de6382cf
Author: Xiaoyu Yao <xy...@apache.org>
AuthorDate: Tue Mar 19 09:55:52 2019 -0700
HDDS-1215. Change hadoop-runner and apache/hadoop base image to use Java8. Contributed by Xiaoyu Yao.
This closes #615
(cherry picked from commit 992489c11ca6710466266250a3933e0281ac4d35)
---
hadoop-ozone/dist/src/main/compose/README.md | 6 ++++++
hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/hadoop-ozone/dist/src/main/compose/README.md b/hadoop-ozone/dist/src/main/compose/README.md
index 8189d2c..494facc 100644
--- a/hadoop-ozone/dist/src/main/compose/README.md
+++ b/hadoop-ozone/dist/src/main/compose/README.md
@@ -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.
diff --git a/hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml b/hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml
index fa3ba7b..ebbcd5c 100644
--- a/hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml
+++ b/hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org