Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22151

hbase-backup should specify hadoop-hdfs-client version for Hadoop 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.0
    • None
    • backup&restore
    • None
    • Hadoop 3.2.0

    Description

      mvn test -P runAllTests -fn -Dhadoop.profile=3.0 -Dhadoop-three.version=3.2.0 -Dtest=TestIncrementalBackupWithBulkLoad
      

       

      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.

       

      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

      Attachments

        1. HBASE-22151.master.001.patch
          0.8 kB
          Wei-Chiu Chuang

        Activity

          People

            weichiu Wei-Chiu Chuang
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: