Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
hadoop3 minidfscluster removes all shutdown handlers when the cluster goes down which made this test that does FS-stuff fail (Fix was to break up the test so each test method ran with an unadulterated FS).
Description
TestBlockReorder fails against hadoop 3 due to the following error:
2018-02-08 17:22:23,389 ERROR [RS:0;cn012:38253] helpers.MarkerIgnoringBase(159): ***** ABORTING region server cn012.l42scl.hortonworks.com,38253,1518110542271: Unhandled: Failed suppression of fs shutdown hook: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@6a0c707e ***** java.lang.RuntimeException: Failed suppression of fs shutdown hook: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@6a0c707e at org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:207) at org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:85) at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:927) at org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.runRegionServer(MiniHBaseCluster.java:187)
This is because when MiniDFSCluster is stopped in first subtest, hadoop 3 clears ShutdownHook.
When the 2nd test starts, suppression of ShutdownHook fails.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-17921 TestBlockReorder always fails against hadoop3.0.0-alpha2
- Resolved
-
HBASE-17922 TestRegionServerHostname always fails against hadoop 3.0.0-alpha2
- Resolved
-
HDFS-7285 Erasure Coding Support inside HDFS
- Resolved
-
HBASE-22444 Backport HBASE-19954 to branch-1
- Resolved