[
https://issues.apache.org/jira/browse/HDDS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16627738#comment-16627738
]
Ajay Kumar commented on HDDS-546:
---------------------------------
[~anu], [~xyao] thanks for suggesting alternate options.
[~anu] Is it diff change or you are suggesting two versions of bouncy castle? I
think we have following options
# Bump bouncy castle dependency to 1.54
{code} <dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
- <version>1.49</version>
+ <version>1.54</version>
</dependency>\{code}
# Exclude bouncy castle from ratis-server dependency.
{code}
@@ -55,6 +55,10 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
{code}<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcprov-jdk15on</artifactId>
+ </exclusion>{code}
# Do both the options.
Please let me know which one you prefer, i will update the patch. Compilation
is successful with both of them.
> Remove bouncy castle dependency from hadoop-hdds-common
> -------------------------------------------------------
>
> Key: HDDS-546
> URL: https://issues.apache.org/jira/browse/HDDS-546
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Major
> Attachments: HDDS-546-HDDS-4.00.patch
>
>
> {code}
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (depcheck) @
> hadoop-hdds-common ---
> [WARNING]
> Dependency convergence error for org.bouncycastle:bcprov-jdk15on:1.54 paths
> to dependency are:
> +-org.apache.hadoop:hadoop-hdds-common:0.3.0-SNAPSHOT
> +-org.apache.ratis:ratis-server:0.3.0-eca3531-20180918.052141-2
> +-org.apache.ratis:ratis-proto-shaded:0.3.0-eca3531-SNAPSHOT
> +-org.bouncycastle:bcpkix-jdk15on:1.54
> +-org.bouncycastle:bcprov-jdk15on:1.54
> and
> +-org.apache.hadoop:hadoop-hdds-common:0.3.0-SNAPSHOT
> +-org.bouncycastle:bcprov-jdk15on:1.49
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]