hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r818169 - in /hadoop/hbase/branches/0.19: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HRegion.java src/java/org/apache/hadoop/hbase/util/FSUtils.java
Date Wed, 23 Sep 2009 17:24:10 GMT
Author: stack
Date: Wed Sep 23 17:24:10 2009
New Revision: 818169

URL: http://svn.apache.org/viewvc?rev=818169&view=rev
Log:
HBASE-1862 [migration] Migration tools need to have the filesystem set for them

Modified:
    hadoop/hbase/branches/0.19/CHANGES.txt
    hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
    hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/util/FSUtils.java

Modified: hadoop/hbase/branches/0.19/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.19/CHANGES.txt?rev=818169&r1=818168&r2=818169&view=diff
==============================================================================
--- hadoop/hbase/branches/0.19/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.19/CHANGES.txt Wed Sep 23 17:24:10 2009
@@ -31,6 +31,8 @@
    HBASE-1683  OOME on master splitting logs; stuck, won't go down
    HBASE-1726  Migration to 0.20 looses index information from HTableDescriptor
                (Clint Morgan via Stack)
+   HBASE-1862  [migration] Migration tools need to have the filesystem set for
+               them
 
   IMPROVEMENTS
    HBASE-1722  Add support for exporting HBase metrics via JMX

Modified: hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=818169&r1=818168&r2=818169&view=diff
==============================================================================
--- hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
(original)
+++ hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Wed Sep 23 17:24:10 2009
@@ -2756,6 +2756,7 @@
     }
     Path tableDir  = new Path(args[0]);
     HBaseConfiguration c = new HBaseConfiguration();
+    c.set("fs.default.name", c.get(HConstants.HBASE_DIR));
     FileSystem fs = FileSystem.get(c);
     String tmp = c.get("hbase.tmp.dir", "/tmp");
     Path logdir = new Path(new Path(tmp),

Modified: hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/util/FSUtils.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/util/FSUtils.java?rev=818169&r1=818168&r2=818169&view=diff
==============================================================================
--- hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/util/FSUtils.java (original)
+++ hadoop/hbase/branches/0.19/src/java/org/apache/hadoop/hbase/util/FSUtils.java Wed Sep
23 17:24:10 2009
@@ -298,6 +298,7 @@
   public static void main(final String [] args)
   throws IOException {
     HBaseConfiguration c = new HBaseConfiguration();
+    c.set("fs.default.name", c.get(HConstants.HBASE_DIR));
     FileSystem fs = FileSystem.get(c);
     System.out.println("majorCompacted=" + isMajorCompacted(fs, getRootDir(c)));
   }



Mime
View raw message