Wei-Chiu Chuang created HBASE-22151:
---------------------------------------

             Summary: 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


{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)

Reply via email to