hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r657125 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java
Date Fri, 16 May 2008 16:25:44 GMT
Author: stack
Date: Fri May 16 09:25:43 2008
New Revision: 657125

URL: http://svn.apache.org/viewvc?rev=657125&view=rev
Log:
HBASE-82 Fix toString in migation

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java?rev=657125&r1=657124&r2=657125&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java Fri May 16 09:25:43
2008
@@ -342,7 +342,7 @@
   throws IOException {
     // Create directory where table will live
 
-    Path tableDir = new Path(rootdir, tableName.toString());
+    Path tableDir = new Path(rootdir, Bytes.toString(tableName));
     fs.mkdirs(tableDir);
 
     // Move the old region directory under the table directory



Mime
View raw message