You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by to...@apache.org on 2019/04/10 15:53:52 UTC

[hadoop] branch trunk updated: HADOOP-16179. hadoop-common pom should not depend on kerb-simplekdc

This is an automated email from the ASF dual-hosted git repository.

todd pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 65deb1a  HADOOP-16179. hadoop-common pom should not depend on kerb-simplekdc
65deb1a is described below

commit 65deb1ac42a9e2a19cfff0b394f00cb0d3b75d38
Author: Todd Lipcon <to...@apache.org>
AuthorDate: Wed Apr 10 08:47:37 2019 -0700

    HADOOP-16179. hadoop-common pom should not depend on kerb-simplekdc
    
    The hadoop-common pom currently has a dependency on kerb-simplekdc. In
    fact, the only classes used from Kerby are in kerb-core and kerb-util
    (which is a transitive dependency frmo kerb-core). Depending on
    kerb-simplekdc pulls a bunch of other unnecessary classes into the
    hadoop-common classpath.
    
    This changes the hadoop-common pom to depend only on kerb-core.
    
    hadoop-minikdc already had the appropriate dependency on kerb-simplekdc
    so it continues to pull in what it needs.
    
    Signed-off-by: Todd Lipcon <to...@apache.org>
---
 hadoop-common-project/hadoop-common/pom.xml | 2 +-
 hadoop-project/pom.xml                      | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml
index a62f7ae..19044a5 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -308,7 +308,7 @@
     </dependency>
     <dependency>
       <groupId>org.apache.kerby</groupId>
-      <artifactId>kerb-simplekdc</artifactId>
+      <artifactId>kerb-core</artifactId>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index aac0315..7380f15 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -102,6 +102,7 @@
     <apacheds.version>2.0.0-M21</apacheds.version>
     <ldap-api.version>1.0.0-M33</ldap-api.version>
 
+    <kerby.version>1.0.1</kerby.version>
     <jcache.version>1.0-alpha-1</jcache.version>
     <ehcache.version>3.3.1</ehcache.version>
     <hikari.version>2.4.12</hikari.version>
@@ -1463,7 +1464,12 @@
         <dependency>
           <groupId>org.apache.kerby</groupId>
           <artifactId>kerb-simplekdc</artifactId>
-          <version>1.0.1</version>
+          <version>${kerby.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.kerby</groupId>
+          <artifactId>kerb-core</artifactId>
+          <version>${kerby.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.geronimo.specs</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org