[ https://issues.apache.org/jira/browse/HBASE-22151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HBASE-22151: ------------------------------------ Resolution: Invalid Status: Resolved (was: Patch Available) > hbase-backup should specify hadoop-hdfs-client version for Hadoop 3 > ------------------------------------------------------------------- > > Key: HBASE-22151 > URL: https://issues.apache.org/jira/browse/HBASE-22151 > Project: HBase > Issue Type: Bug > Components: backup&restore > Affects Versions: 2.0.0 > Environment: Hadoop 3.2.0 > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Priority: Major > Attachments: HBASE-22151.master.001.patch > > > {code} > mvn test -P runAllTests -fn -Dhadoop.profile=3.0 -Dhadoop-three.version=3.2.0 > -Dtest=TestIncrementalBackupWithBulkLoad > {code} > > Despite hadoop 3 version is specified, the test always use hadoop-hdfs-client > 3.0.3, and will fail on Hadoop 3.2.0 because it can't find a new class. > > {noformat} > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 709.323 s <<< > FAILURE! - in org.apache.hadoop.hbase.backup.TestIncrementalBackupWithBulkLoad > TestIncBackupDeleteTable(org.apache.hadoop.hbase.backup.TestIncrementalBackupWithBulkLoad) > Time elapsed: 1.907 s <<< ERROR! > java.lang.NoClassDefFoundError: > org/apache/hadoop/hdfs/protocol/HdfsConstants$StoragePolicySatisfierMode > Caused by: java.lang.ClassNotFoundException: > org.apache.hadoop.hdfs.protocol.HdfsConstants$StoragePolicySatisfierMode{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)