HBASE-20332 shaded mapreduce module shouldn't include hadoop
commitf1b536bad41023a2e017311196d32f8214bc3701
authorSean Busbey <busbey@apache.org>
Mon, 9 Apr 2018 18:37:44 +0000 (9 13:37 -0500)
committerSean Busbey <busbey@apache.org>
Mon, 18 Jun 2018 18:31:04 +0000 (18 11:31 -0700)
treed60ba03ca4778cb118a613a2619444c0d7421222
parentac5bb8155b618194fe9cf1131f0e72c99b7b534c
HBASE-20332 shaded mapreduce module shouldn't include hadoop

* modify the jar checking script to take args; make hadoop stuff optional
* separate out checking the artifacts that have hadoop vs those that don't.
* * Unfortunately means we need two modules for checking things
* * put in a safety check that the support script for checking jar contents is maintained in both modules
* * have to carve out an exception for o.a.hadoop.metrics2. :(
* fix duplicated class warning
* clean up dependencies in hbase-server and some modules that depend on it.
* allow Hadoop to have its own htrace where it needs it
* add a precommit check to make sure we're not using old htrace imports
25 files changed:
hbase-backup/pom.xml
hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml
hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
hbase-client/pom.xml
hbase-common/pom.xml
hbase-endpoint/pom.xml
hbase-examples/pom.xml
hbase-external-blockcache/pom.xml
hbase-hadoop2-compat/pom.xml
hbase-it/pom.xml
hbase-mapreduce/pom.xml
hbase-replication/pom.xml
hbase-rest/pom.xml
hbase-rsgroup/pom.xml
hbase-server/pom.xml
hbase-shaded/hbase-shaded-check-invariants/pom.xml
hbase-shaded/hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
hbase-shaded/hbase-shaded-mapreduce/pom.xml
hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml [copied from hbase-shaded/hbase-shaded-check-invariants/pom.xml with 77% similarity]
hbase-shaded/hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh [new file with mode: 0644]
hbase-shaded/pom.xml
hbase-shell/pom.xml
hbase-testing-util/pom.xml
hbase-thrift/pom.xml
pom.xml