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 1F5C09CB3 for ; Wed, 28 Dec 2011 15:10:57 +0000 (UTC) Received: (qmail 606 invoked by uid 500); 28 Dec 2011 15:10:57 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 495 invoked by uid 500); 28 Dec 2011 15:10:56 -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 487 invoked by uid 99); 28 Dec 2011 15:10:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:10:56 +0000 X-ASF-Spam-Status: No, hits=-2001.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:10:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3417B12D798 for ; Wed, 28 Dec 2011 15:10:33 +0000 (UTC) Date: Wed, 28 Dec 2011 15:10:33 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1563658038.48665.1325085033214.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1196312671.1027.1323691350904.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5009) Failure of creating split dir if it already exists prevents splits from happening further MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176678#comment-13176678 ] Hudson commented on HBASE-5009: ------------------------------- Integrated in HBase-TRUNK-security #52 (See [https://builds.apache.org/job/HBase-TRUNK-security/52/]) HBASE-5009 Failure of creating split dir if it already exists prevents splits from happening further tedyu : Files : * /hbase/trunk/CHANGES.txt * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/Reference.java * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java > Failure of creating split dir if it already exists prevents splits from happening further > ----------------------------------------------------------------------------------------- > > Key: HBASE-5009 > URL: https://issues.apache.org/jira/browse/HBASE-5009 > Project: HBase > Issue Type: Bug > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 0.92.1, 0.90.6 > > Attachments: 5009.txt, HBASE-5009.patch, HBASE-5009_Branch90.patch > > > The scenario is > -> The split of a region takes a long time > -> The deletion of the splitDir fails due to HDFS problems. > -> Subsequent splits also fail after that. > {code} > private static void createSplitDir(final FileSystem fs, final Path splitdir) > throws IOException { > if (fs.exists(splitdir)) throw new IOException("Splitdir already exits? " + splitdir); > if (!fs.mkdirs(splitdir)) throw new IOException("Failed create of " + splitdir); > } > {code} > Correct me if am wrong? If it is an issue can we change the behaviour of throwing exception? > Pls suggest. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira