hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12607) TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0
Date Fri, 26 Dec 2014 01:36:14 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-12607:
---------------------------
    Issue Type: Bug  (was: Test)

The current code depends on a bug in hdfs which was fixed in hadoop 2.6.0

With the bug fixed, the second attempt at invoking hbck would keep on retrying until it can
successfully create the lock file.

Proposed fix is to fail the second attempt since initiation of the second attempt overlaps
the first invocation of hbck.


> TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0
> -----------------------------------------------------------------
>
>                 Key: HBASE-12607
>                 URL: https://issues.apache.org/jira/browse/HBASE-12607
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>              Labels: hbck
>         Attachments: 12607-v1.txt, 12607-v2.txt, org.apache.hadoop.hbase.util.TestHBaseFsck-output.txt
>
>
> TestHBaseFsck#testParallelHbck consistently fails on both Linux and Mac.
> I added more logging as shown below:
> {code}
>     HBaseFsck h1 = hbck1.get();
>     HBaseFsck h2 = hbck2.get();
>     LOG.warn("h1: " + h1);
>     LOG.warn("h2: " + h2);
> {code}
> I saw the following in test output:
> {code}
> 2014-12-01 14:58:44,728 WARN  [main] util.TestHBaseFsck(576): h1: org.apache.hadoop.hbase.util.HBaseFsck@72aa738e
> 2014-12-01 14:58:44,729 WARN  [main] util.TestHBaseFsck(577): h2: org.apache.hadoop.hbase.util.HBaseFsck@186e2ce6
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message