[
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.