[ https://issues.apache.org/jira/browse/HADOOP-13681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka updated HADOOP-13681: ----------------------------------- Resolution: Fixed Hadoop Flags: Incompatible change Fix Version/s: 3.0.0-alpha2 Release Note: Changed Apache Kafka dependency from kafka-2.10 to kafka-clients in hadoop-kafka module. Status: Resolved (was: Patch Available) Committed this to trunk. Thanks [~granthenke] for the contribution! > Reduce Kafka dependencies in hadoop-kafka module > ------------------------------------------------ > > Key: HADOOP-13681 > URL: https://issues.apache.org/jira/browse/HADOOP-13681 > Project: Hadoop Common > Issue Type: Improvement > Components: metrics > Affects Versions: 3.0.0-alpha1 > Reporter: Grant Henke > Assignee: Grant Henke > Fix For: 3.0.0-alpha2 > > Attachments: HADOOP-13681-1.patch > > > The newly added Kafka module defines the Kafka dependency as: > {noformat} > ... > <groupId>org.apache.kafka</groupId> > <artifactId>kafka-2.10</artifactId> > <version>${kafka.version}</version> > ... > {noformat} > This is unfavorable because its using the server dependency, which > transitively has the client jars. The server dependency includes all of the > server code and some larger transitive dependencies like Scala and Zookeeper. > Instead the pom file should be changed to only depend on the clients jar > which is a much smaller footprint: > {noformat} > ... > <groupId>org.apache.kafka</groupId> > <artifactId>kafka-clients</artifactId> > <version>${kafka.version}</version> > ... > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org