You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by to...@apache.org on 2010/07/29 01:14:12 UTC

svn commit: r980264 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java

Author: todd
Date: Wed Jul 28 23:14:12 2010
New Revision: 980264

URL: http://svn.apache.org/viewvc?rev=980264&view=rev
Log:
HBASE-2820 hbck throws an error if HBase root dir isn't on the default FS

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=980264&r1=980263&r2=980264&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed Jul 28 23:14:12 2010
@@ -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

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java?rev=980264&r1=980263&r2=980264&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java Wed Jul 28 23:14:12 2010
@@ -80,8 +80,8 @@ public class HBaseFsck extends HBaseAdmi
     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