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 0A26C788E for ; Wed, 21 Dec 2011 15:15:55 +0000 (UTC) Received: (qmail 52136 invoked by uid 500); 21 Dec 2011 15:15:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 52078 invoked by uid 500); 21 Dec 2011 15:15:54 -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 51985 invoked by uid 99); 21 Dec 2011 15:15:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 15:15:54 +0000 X-ASF-Spam-Status: No, hits=-2002.5 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, 21 Dec 2011 15:15:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B2BC111F8C6 for ; Wed, 21 Dec 2011 15:15:30 +0000 (UTC) Date: Wed, 21 Dec 2011 15:15:30 +0000 (UTC) From: "Zhihong Yu (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <503730554.35616.1324480530733.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1196312671.1027.1323691350904.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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:all-tabpanel ] Zhihong Yu updated HBASE-5009: ------------------------------ Status: Patch Available (was: Open) > 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 > Affects Versions: 0.90.6 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Attachments: 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