Ted Yu created HBASE-19968: ------------------------------ Summary: MapReduce test fails with NoClassDefFoundError against hadoop3 Key: HBASE-19968 URL: https://issues.apache.org/jira/browse/HBASE-19968 Project: HBase Issue Type: Bug Reporter: Ted Yu Assignee: Ted Yu
When running mapreduce tests against hadoop3, I observed the following: {code} [ERROR] testWithMockedMapReduceSingleRegion(org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat) Time elapsed: 0.024 s <<< ERROR! java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/server/blockmanagement/BlockInfo at org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat.testWithMockedMapReduce(TestTableSnapshotInputFormat.java:178) Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo at org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat.testWithMockedMapReduce(TestTableSnapshotInputFormat.java:178) {code} This was due to lack of dependency on hadoop-hdfs module in the hadoop-3.0 profile of hbase-mapreduce/pom.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)