HBASE-2820 hbck throws an error if HBase root dir isn't on the default FS

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980264 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2010-07-28 23:14:12 +00:00
parent 1280130acc
commit 852f3cf9a0
2 changed files with 2 additions and 1 deletions

View File

@ -457,6 +457,7 @@ Release 0.21.0 - Unreleased
HBASE-2815 not able to run the test suite in background because TestShell
gets suspended on tty output (Alexey Kovyrin via Stack)
HBASE-2852 Bloom filter NPE (pranav via jgray)
HBASE-2820 hbck throws an error if HBase root dir isn't on the default FS
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -80,8 +80,8 @@ public class HBaseFsck extends HBaseAdmin {
this.conf = conf;
// setup filesystem properties
this.fs = FileSystem.get(conf);
this.rootDir = new Path(conf.get(HConstants.HBASE_DIR));
this.fs = rootDir.getFileSystem(conf);
// fetch information from master