From 6fa3feb577d05d73a2eb1bc8e39800326f678c31 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 10 Oct 2018 10:16:57 +0900 Subject: [PATCH] HADOOP-15832. Upgrade BouncyCastle to 1.60. Contributed by Robert Kanter. --- .../hadoop-client-check-invariants/pom.xml | 2 ++ .../pom.xml | 2 ++ .../hadoop-client-minicluster/pom.xml | 2 ++ .../hadoop-client-runtime/pom.xml | 2 ++ hadoop-common-project/hadoop-common/pom.xml | 2 +- hadoop-common-project/hadoop-kms/pom.xml | 2 +- hadoop-hdds/server-scm/pom.xml | 2 +- .../hadoop-hdfs-httpfs/pom.xml | 2 +- hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml | 2 +- hadoop-hdfs-project/hadoop-hdfs/pom.xml | 2 +- .../hadoop-mapreduce-client-app/pom.xml | 20 +++++++++++++++++++ .../hadoop-mapreduce-client-jobclient/pom.xml | 7 ++++++- hadoop-ozone/ozone-manager/pom.xml | 2 +- hadoop-project/pom.xml | 12 ++++++++--- .../hadoop-yarn/hadoop-yarn-common/pom.xml | 2 +- .../pom.xml | 2 +- .../hadoop-yarn-server-tests/pom.xml | 2 +- .../hadoop-yarn-server-web-proxy/pom.xml | 8 ++++++++ 18 files changed, 61 insertions(+), 14 deletions(-) diff --git a/hadoop-client-modules/hadoop-client-check-invariants/pom.xml b/hadoop-client-modules/hadoop-client-check-invariants/pom.xml index 4319a8b119..f0629867d5 100644 --- a/hadoop-client-modules/hadoop-client-check-invariants/pom.xml +++ b/hadoop-client-modules/hadoop-client-check-invariants/pom.xml @@ -90,6 +90,8 @@ log4j:log4j com.google.code.findbugs:jsr305 + + org.bouncycastle:* diff --git a/hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml b/hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml index 70a987f96f..c02ce5658d 100644 --- a/hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml +++ b/hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml @@ -98,6 +98,8 @@ org.hamcrest:hamcrest-core com.google.code.findbugs:jsr305 + + org.bouncycastle:* diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml index dac5e6938e..70af1edc8d 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -671,6 +671,8 @@ javax.annotation:javax.annotation-api org.eclipse.jetty:jetty-jndi + + org.bouncycastle:* diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml index 8afc89e834..1e98a61a94 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -162,6 +162,8 @@ org.eclipse.jetty:jetty-servlet org.eclipse.jetty:jetty-security org.ow2.asm:* + + org.bouncycastle:* diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index a9e0fb19dc..3036b64397 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -303,7 +303,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-common-project/hadoop-kms/pom.xml b/hadoop-common-project/hadoop-kms/pom.xml index 9b1936f8e6..3a6ed54dbb 100644 --- a/hadoop-common-project/hadoop-kms/pom.xml +++ b/hadoop-common-project/hadoop-kms/pom.xml @@ -171,7 +171,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-hdds/server-scm/pom.xml b/hadoop-hdds/server-scm/pom.xml index 92563e70be..5fcd2bbc43 100644 --- a/hadoop-hdds/server-scm/pom.xml +++ b/hadoop-hdds/server-scm/pom.xml @@ -93,7 +93,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml index c0078dac7e..c3d112ed99 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml @@ -204,7 +204,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml index 8d796abcf7..d99e4954ce 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml @@ -165,7 +165,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index a0ea04f9c2..f97ca1731f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -190,7 +190,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml index 0a354c8618..fab6466f7c 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml @@ -46,6 +46,16 @@ org.apache.hadoop hadoop-yarn-server-web-proxy + + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + + org.apache.hadoop @@ -88,6 +98,16 @@ com.fasterxml.jackson.core jackson-databind + + org.bouncycastle + bcprov-jdk15on + test + + + org.bouncycastle + bcpkix-jdk15on + test + diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml index b961cc7f70..b956fd4fa1 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml @@ -108,7 +108,12 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on + test + + + org.bouncycastle + bcpkix-jdk15on test diff --git a/hadoop-ozone/ozone-manager/pom.xml b/hadoop-ozone/ozone-manager/pom.xml index e2062ef472..76e3afbe7a 100644 --- a/hadoop-ozone/ozone-manager/pom.xml +++ b/hadoop-ozone/ozone-manager/pom.xml @@ -42,7 +42,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 0f54a55460..5f88371851 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -96,6 +96,8 @@ 4.0 2.9.9 + 1.60 + 2.0.0-M21 1.0.0-M33 @@ -1424,10 +1426,14 @@ org.bouncycastle - bcprov-jdk16 - 1.46 - test + bcprov-jdk15on + ${bouncycastle.version} + + org.bouncycastle + bcpkix-jdk15on + ${bouncycastle.version} + joda-time diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml index de0d78bb09..133003a261 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml @@ -139,7 +139,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/pom.xml index 5ea8c9ed95..bfac67398b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/pom.xml @@ -177,7 +177,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml index 8c559b984d..a05cdc4b46 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml @@ -127,7 +127,7 @@ org.bouncycastle - bcprov-jdk16 + bcprov-jdk15on test diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/pom.xml index aa9f7536e2..d08c25f941 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/pom.xml @@ -115,6 +115,14 @@ jersey-test-framework-grizzly2 test + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on +