From 4adfbfc1ae18442ca587b4acad85b45f6df9716d Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sat, 25 Nov 2017 20:07:12 -0800 Subject: [PATCH] HBASE-19024 branch-1.2 times out and is taking 6-7 hours to complete; NOTHING CHANGE JUST TO PROVOKE A 1.2 BUILD --- dev-support/docker/Dockerfile | 22 ++++++++++++++-------- hbase-server/pom.xml | 2 +- .../org/apache/hadoop/hbase/InterProcessLock.java | 1 - 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 2605e2c010..df3f1d959f 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -63,22 +63,28 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ rsync \ snappy \ zlib1g-dev \ - wget \ - openjdk-7-jdk + wget + +# The last two items in the above are to add support for the apt-add-repository +# command, needed by the add of azul repo below. ####### -# OpenJDK 8 +# Add Azul repo ####### - +# The jdk7 in trusty is 151 which hdfs hangs on. Add the azul repo and install +# zulu-7, an openjdk that is more recent than trusty default jdk. We add the repo +# up here and then down below when we do OpenJDK 7, we run install (after the +# jdk 8 apt-get update). RUN echo "dot_style = mega" > "/root/.wgetrc" RUN echo "quiet = on" >> "/root/.wgetrc" - -RUN apt-get -q update && apt-get -q install --no-install-recommends -y software-properties-common -RUN add-apt-repository -y ppa:openjdk-r/ppa +RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9 +RUN apt-get -q update && apt-get -q install --no-install-recommends -y software-properties-common python-software-properties +RUN apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main' RUN apt-get -q update -RUN apt-get -q install --no-install-recommends -y openjdk-8-jdk +RUN apt-get -q install --no-install-recommends -y zulu-8 RUN update-alternatives --config java RUN update-alternatives --config javac +ENV JAVA_HOME /usr/lib/jvm/zulu-8-amd64 #### # Apps that require Java diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 81e529f4f7..f989aa2693 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -37,7 +37,7 @@ + by placing this first. --> diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/InterProcessLock.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/InterProcessLock.java index d1216f1e4f..43e566573d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/InterProcessLock.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/InterProcessLock.java @@ -28,7 +28,6 @@ import org.apache.hadoop.hbase.classification.InterfaceAudience; */ @InterfaceAudience.Private public interface InterProcessLock { - /** * Acquire the lock, waiting indefinitely until the lock is released or * the thread is interrupted. -- 2.11.0 (Apple Git-81)