PHOENIX-7600 Replace commons-logging with slf4j
Please check the test logs
[INFO] Running org.apache.phoenix.hive.HiveMapReduceIT Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! -- in org.apache.phoenix.hive.HiveMapReduceIT Error: org.apache.phoenix.hive.HiveMapReduceIT -- Time elapsed: 0.002 s <<< ERROR! java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/logging/impl/Log4JLogger at org.apache.phoenix.query.BaseTest.initMiniCluster(BaseTest.java:552) at org.apache.phoenix.query.BaseTest.setUpTestCluster(BaseTest.java:451) at org.apache.phoenix.query.BaseTest.checkClusterInitialized(BaseTest.java:437)
Looks like you need to add log4j-1.2-api to the test classpath.
Hmm. Maybe the problem is different.
It's missing the commons-logging classes, not the log4j12 ones.
In any case the test classpath is broken.