HBASE-2072 fs.automatic.close isn't passed to FileSystem
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4406121af
commit
3fb9ac02b8
|
@ -140,6 +140,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2065 Cannot disable a table if any of its region is opening
|
||||
at the same time
|
||||
HBASE-2026 NPE in StoreScanner on compaction
|
||||
HBASE-2072 fs.automatic.close isn't passed to FileSystem
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -706,13 +706,13 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
// accessors will be going against wrong filesystem (unless all is set
|
||||
// to defaults).
|
||||
this.conf.set("fs.defaultFS", this.conf.get("hbase.rootdir"));
|
||||
this.conf.setBoolean("fs.automatic.close", false);
|
||||
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);
|
||||
|
||||
this.rootDir = new Path(this.conf.get(HConstants.HBASE_DIR));
|
||||
this.hlog = setupHLog();
|
||||
|
|
Loading…
Reference in New Issue