Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 8e2e60731 -> 8e64a08a4


HADOOP-15283. Upgrade from findbugs 3.0.1 to spotbugs 3.1.2 in branch-2 to fix 
docker image build.

(cherry picked from commit 8ad3ec6aabd265cae01242100729e3d02d794256)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8e64a08a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8e64a08a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8e64a08a

Branch: refs/heads/branch-2.8
Commit: 8e64a08a416b3a140ee789f7b2f01cee63ab7ed3
Parents: 8e2e607
Author: Akira Ajisaka <[email protected]>
Authored: Sun Mar 4 07:01:11 2018 -0800
Committer: Akira Ajisaka <[email protected]>
Committed: Sun Mar 4 07:03:48 2018 -0800

----------------------------------------------------------------------
 dev-support/docker/Dockerfile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8e64a08a/dev-support/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index a27add8..c5553b1 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -84,14 +84,15 @@ RUN apt-get -q update
 RUN apt-get -q install --no-install-recommends -y openjdk-7-jdk
 
 ######
-# Install findbugs
+# Install spotbugs (successor of findbugs)
 ######
-RUN mkdir -p /opt/findbugs && \
+RUN mkdir -p /opt/spotbugs && \
     curl -L -s -S \
-         
https://sourceforge.net/projects/findbugs/files/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.tar.gz/download
 \
-         -o /opt/findbugs.tar.gz && \
-    tar xzf /opt/findbugs.tar.gz --strip-components 1 -C /opt/findbugs
-ENV FINDBUGS_HOME /opt/findbugs
+         
http://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/3.1.2/spotbugs-3.1.2.tgz
 \
+         -o /opt/spotbugs.tar.gz && \
+    tar xzf /opt/spotbugs.tar.gz --strip-components 1 -C /opt/spotbugs
+# Hadoop uses FINDBUGS_HOME to run spotbugs
+ENV FINDBUGS_HOME /opt/spotbugs
 
 ####
 # Install shellcheck


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to