From 3a8118b480e5872f71b4bcfda1db2dc828e2fc0d Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Thu, 28 Feb 2019 14:56:04 +0100 Subject: [PATCH] HDDS-1190. Fix jdk 11 issue for ozonesecure base image and docker-compose . Contributed by Xiaoyu Yao. --- hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config | 2 +- .../main/compose/ozonesecure/docker-image/docker-krb5/krb5.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config index bafc950acf9..4447a81900a 100644 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config +++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config @@ -107,7 +107,7 @@ KEYTAB_DIR=/etc/security/keytabs KERBEROS_KEYTABS=dn om scm HTTP testuser KERBEROS_KEYSTORES=hadoop KERBEROS_SERVER=kdc -JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ +JAVA_HOME=/usr/lib/jvm/jre JSVC_HOME=/usr/bin SLEEP_SECONDS=5 KERBEROS_ENABLED=true diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-image/docker-krb5/krb5.conf b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-image/docker-krb5/krb5.conf index 34eabe14850..0c274d36bb5 100644 --- a/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-image/docker-krb5/krb5.conf +++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/docker-image/docker-krb5/krb5.conf @@ -32,6 +32,7 @@ admin_server = FILE:/var/log/kadmind.log EXAMPLE.COM = { kdc = localhost admin_server = localhost + max_renewable_life = 7d } [domain_realm]