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 aa...@apache.org on 2019/06/18 01:26:02 UTC

[hadoop] branch branch-2.8 updated: HADOOP-15711. Move branch-2 precommit/nightly test builds to java 8

This is an automated email from the ASF dual-hosted git repository.

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


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

commit b93746a016805efdfd86f7ceb4e48f790f702762
Author: Jonathan Hung <jh...@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 ba6a045..01c3cf7 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -81,6 +81,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
@@ -89,6 +98,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)
@@ -190,7 +200,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