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

TestBlockReorder fails running against hadoop 3

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      testBlockLocationReorder(org.apache.hadoop.hbase.fs.TestBlockReorder)  Time elapsed: 0.031 s  <<< ERROR!
      java.lang.ExceptionInInitializerError
        at org.apache.hadoop.hbase.fs.TestBlockReorder.<clinit>(TestBlockReorder.java:84)
      
      testBlockLocation(org.apache.hadoop.hbase.fs.TestBlockReorder)  Time elapsed: 0.026 s  <<< ERROR!
      java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.fs.TestBlockReorder
      

      Here is related code:

          ((Log4JLogger) DFSClient.LOG).getLogger().setLevel(Level.ALL);
      

      It seems the LOG field of DFSClient in hadoop 3 is not Log4JLogger any more.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: