Created 12-20-2016 11:02 PM
Can someone explain the decision to include the following jars in the HDP distribution for HBase? Is this for compatibility? Please provide some technical background on the decision.
-rw-r--r-- 1 user user 790250 Nov 15 19:41 netty-3.2.4.Final.jar -rw-r--r-- 1 user user 1779991 Nov 15 18:11 netty-all-4.0.23.Final.jar -rw-r--r-- 1 user user 132368 Nov 15 18:12 servlet-api-2.5-6.1.14.jar -rw-r--r-- 1 user user 105112 Nov 15 18:05 servlet-api-2.5.jar
Created 12-20-2016 11:11 PM
netty-3.2.4.Final.jar is brought in by hbase-it module.
It shouldn't collide with netty-all-4.0.23.Final.jar
Created 12-20-2016 11:11 PM
netty-3.2.4.Final.jar is brought in by hbase-it module.
It shouldn't collide with netty-all-4.0.23.Final.jar
Created 12-20-2016 11:13 PM
servlet-api-2.5.jar is brought in by transitive dependency:
[INFO] +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.7.3.2.6.0.0-SNAPSHOT:compile
[INFO] | +- org.apache.hadoop:hadoop-yarn-common:jar:2.7.3.2.6.0.0-SNAPSHOT:compile
[INFO] | | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | +- javax.servlet:servlet-api:jar:2.5:compile
Created 12-20-2016 11:24 PM
Thanks Ted, what about the rest?
Created 12-21-2016 12:02 AM
I would also add to Ted's comment that netty-3.2.4 (which is required by hadoop-hdfs) and netty-all-4.0.23 are not conflicting because 3.2.4 is the old version with org.jboss.netty package while 4.0.23 has io.netty package. Actually they even have different artifact IDs (netty vs netty-all). So it's safe to use both of them in the same project.
Created 12-21-2016 12:22 AM
Thank you Sergey, I wish I could accept both answers. Voting up!