Philip Zeyliger has uploaded this change for review. (
http://gerrit.cloudera.org:8080/9859
Change subject: IMPALA-6769: Avoid pulling incoherent Hadoop dependencies.
......................................................................
IMPALA-6769: Avoid pulling incoherent Hadoop dependencies.
Through the following chain of dependencies, Impala was pulling in a
second copy of hadoop-client, mismatched with $IMPALA_HADOOP_VERSION.
To avoid this, we can blacklist the unnecessary dependency on
hive-llap-server, which we don't use.
To prevent this sort of thing from recurring, I used Maven's
"banned dependency plugin" to blacklist
org.apache.{hadoop,hive,kudu,sentsentry.hbase} and whitelist the
versions we expect. I confirmed that "mvn compile" would fail
if the new exclusion I added here wasn't present.
This is the relevant snippet of "mvn dependency:tree" showing how we
were pulling this in:
[INFO] +- org.apache.hive:hive-service:jar:2.1.1-cdh6.x-SNAPSHOT:compile
[INFO] | +-
org.apache.hive:hive-service-rpc:jar:2.1.1-cdh6.x-SNAPSHOT:compile
[INFO] | +-
org.apache.hive:hive-llap-server:jar:2.1.1-cdh6.x-SNAPSHOT:compile
[INFO] | | \- org.apache.slider:slider-core:jar:0.90.2-incubating:compile
[INFO] | | +- org.apache.hadoop:hadoop-client:jar:2.7.1:compile
Change-Id: Ie4b38c4fc5e30ec1464586282f08e3b82f30d7bd
---
M fe/pom.xml
1 file changed, 24 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/59/9859/1
--
To view, visit http://gerrit.cloudera.org:8080/9859
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4b38c4fc5e30ec1464586282f08e3b82f30d7bd
Gerrit-Change-Number: 9859
Gerrit-PatchSet: 1
Gerrit-Owner: Philip Zeyliger <[email protected]>