Skip to content

Commit 65deb1a

Browse files
committed
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 <todd@apache.org>
1 parent d8239f3 commit 65deb1a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
</dependency>
309309
<dependency>
310310
<groupId>org.apache.kerby</groupId>
311-
<artifactId>kerb-simplekdc</artifactId>
311+
<artifactId>kerb-core</artifactId>
312312
</dependency>
313313
<dependency>
314314
<groupId>com.fasterxml.jackson.core</groupId>

hadoop-project/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
<apacheds.version>2.0.0-M21</apacheds.version>
103103
<ldap-api.version>1.0.0-M33</ldap-api.version>
104104

105+
<kerby.version>1.0.1</kerby.version>
105106
<jcache.version>1.0-alpha-1</jcache.version>
106107
<ehcache.version>3.3.1</ehcache.version>
107108
<hikari.version>2.4.12</hikari.version>
@@ -1463,7 +1464,12 @@
14631464
<dependency>
14641465
<groupId>org.apache.kerby</groupId>
14651466
<artifactId>kerb-simplekdc</artifactId>
1466-
<version>1.0.1</version>
1467+
<version>${kerby.version}</version>
1468+
</dependency>
1469+
<dependency>
1470+
<groupId>org.apache.kerby</groupId>
1471+
<artifactId>kerb-core</artifactId>
1472+
<version>${kerby.version}</version>
14671473
</dependency>
14681474
<dependency>
14691475
<groupId>org.apache.geronimo.specs</groupId>

0 commit comments

Comments
 (0)