You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/02/20 16:40:00 UTC

[jira] [Comment Edited] (HBASE-19954) Separate TestBlockReorder into individual tests to avoid ShutdownHook suppression error against hadoop3

    [ https://issues.apache.org/jira/browse/HBASE-19954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370240#comment-16370240 ] 

Ted Yu edited comment on HBASE-19954 at 2/20/18 4:39 PM:
---------------------------------------------------------

Added warning in javadoc of the test classes.

2 test classes are not enough since clearing shutdown hooks is done when MiniDFSCluster is shutdown (performed for every subtest) in hadoop 3.


was (Author: yuzhihong@gmail.com):
Added warning in javadoc of the test classes.

2 test classes are not enough since clearing shutdown hooks is done when MiniDFSCluster is shutdown in hadoop 3.

> Separate TestBlockReorder into individual tests to avoid ShutdownHook suppression error against hadoop3 
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19954
>                 URL: https://issues.apache.org/jira/browse/HBASE-19954
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: 19954.v1.txt, 19954.v2.txt, 19954.v3.txt, 19954.v4.txt
>
>
> TestBlockReorder fails against hadoop 3 due to the following error:
> {code}
> 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)
> {code}
> This is because when MiniDFSCluster is stopped in first subtest, hadoop 3 clears ShutdownHook.
> When the 2nd test starts, suppression of ShutdownHook fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)