Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F2AB1099A for ; Fri, 26 Dec 2014 01:36:20 +0000 (UTC) Received: (qmail 45727 invoked by uid 500); 26 Dec 2014 01:36:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45687 invoked by uid 500); 26 Dec 2014 01:36:14 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 45673 invoked by uid 99); 26 Dec 2014 01:36:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2014 01:36:14 +0000 Date: Fri, 26 Dec 2014 01:36:14 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12607) TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)