[
https://issues.apache.org/jira/browse/HBASE-19574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved HBASE-19574.
----------------------------
Resolution: Duplicate
Dup of HBASE-19954
> TestBlockReorder fails running against hadoop 3
> -----------------------------------------------
>
> Key: HBASE-19574
> URL: https://issues.apache.org/jira/browse/HBASE-19574
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> 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
> {code}
> Here is related code:
> {code}
> ((Log4JLogger) DFSClient.LOG).getLogger().setLevel(Level.ALL);
> {code}
> It seems the {{LOG}} field of DFSClient in hadoop 3 is not Log4JLogger any
> more.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)