From 76f911902ce56b3cb519593e937960f0a32b39e3 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 | 38 ++++++++++++++-------- hbase-server/pom.xml | 2 +- .../org/apache/hadoop/hbase/InterProcessLock.java | 1 - 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 2605e2c010..35fa979397 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -63,29 +63,39 @@ 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. + +#### +# Apps that require Java +# Will pull down a headless jdk7. +### +RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ + ant \ + maven ####### -# OpenJDK 8 +# Install desired jdk7 and jdk8. +# Be sure to put our jdk in place of the jdk downloaded above install ant and maven. ####### - +# 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 (161). 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 zulu-7 RUN update-alternatives --config java RUN update-alternatives --config javac +RUN mv /usr/lib/jvm/java-7-openjdk-amd64 /usr/lib/jvm/java-7-openjdk-amd64.moved +RUN mv /usr/lib/jvm/java-8-openjdk-amd64 /usr/lib/jvm/java-8-openjdk-amd64.moved +RUN ln -s /usr/lib/jvm/zulu-7-amd64 /usr/lib/jvm/java-7-openjdk-amd64 +RUN ln -s /usr/lib/jvm/zulu-8-amd64 /usr/lib/jvm/java-8-openjdk-amd64 -#### -# Apps that require Java -### -RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ - ant \ - maven # Fixing the Apache commons / Maven dependency problem under Ubuntu: # See http://wiki.apache.org/commons/VfsProblems 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)