hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject [hadoop] branch branch-2.9 updated: HADOOP-15711. Move branch-2 precommit/nightly test builds to java 8
Date Tue, 18 Jun 2019 01:25:42 GMT
This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new c3439ff  HADOOP-15711. Move branch-2 precommit/nightly test builds to java 8
c3439ff is described below

commit c3439fff6be89102497244a0928da153200b70a2
Author: Jonathan Hung <jhung@linkedin.com>
AuthorDate: Fri Feb 8 17:12:44 2019 -0800

    HADOOP-15711. Move branch-2 precommit/nightly test builds to java 8
    
    (cherry picked from commit da675796017f79d88e58a3b931fb6358c7b63ff2)
---
 dev-support/docker/Dockerfile | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 6594c8b..311fb65 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -82,6 +82,15 @@ RUN apt-get -q update \
     && rm -rf /var/lib/apt/lists/*
 
 #######
+# OpenJDK 8
+#######
+# hadolint ignore=DL3008
+RUN apt-get -q update \
+    && apt-get -q install -y --no-install-recommends openjdk-8-jdk \
+    && apt-get clean \
+    && rm -rf /var/lib/apt/lists/*
+
+#######
 # OpenJDK 7
 #######
 # hadolint ignore=DL3008
@@ -90,6 +99,7 @@ RUN apt-get -q update \
     && apt-get -q install -y --no-install-recommends openjdk-7-jdk \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
+RUN update-java-alternatives --set java-1.7.0-openjdk-amd64
 
 ######
 # Install cmake 3.1.0 (3.5.1 ships with Xenial)
@@ -203,7 +213,7 @@ RUN curl -L -s -S \
 ###
 # Avoid out of memory errors in builds
 ###
-ENV MAVEN_OPTS -Xms256m -Xmx1536m
+ENV MAVEN_OPTS -Xms256m -Xmx1536m -Dhttps.protocols=TLSv1.2
 
 
 ###


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message