Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 6130 invoked from network); 28 Dec 2009 19:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Dec 2009 19:17:52 -0000 Received: (qmail 1070 invoked by uid 500); 28 Dec 2009 19:17:52 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 1030 invoked by uid 500); 28 Dec 2009 19:17:51 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 1020 invoked by uid 99); 28 Dec 2009 19:17:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 19:17:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 19:17:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 66B47234C045 for ; Mon, 28 Dec 2009 11:17:29 -0800 (PST) Message-ID: <1724522014.1262027849406.JavaMail.jira@brutus.apache.org> Date: Mon, 28 Dec 2009 19:17:29 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Resolved: (HBASE-2072) fs.automatic.close isn't passed to FileSystem In-Reply-To: <685218789.1262027729510.JavaMail.jira@brutus.apache.org> 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-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans resolved HBASE-2072. --------------------------------------- Resolution: Fixed Committed to trunk. > fs.automatic.close isn't passed to FileSystem > --------------------------------------------- > > Key: HBASE-2072 > URL: https://issues.apache.org/jira/browse/HBASE-2072 > Project: Hadoop HBase > Issue Type: Bug > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.21.0 > > > Currently we do this: > {code} > this.conf.set("fs.defaultFS", this.conf.get("hbase.rootdir")); > this.fs = FileSystem.get(this.conf); > // Register shutdown hook for HRegionServer, runs an orderly shutdown > // when a kill signal is recieved. Shuts down hdfs too if its supposed. > Runtime.getRuntime().addShutdownHook(new ShutdownThread(this, > Thread.currentThread(), this.shutdownHDFS)); > this.conf.setBoolean("fs.automatic.close", false); > {code} > The boolean is never passed to FileSystem. This doesn't manifest on a single instance but on my cluster when I manually stop region servers they aren't able to close their regions and on restart the master has to split a ton of logs. The fix is minor so I will commit directly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.