You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/05/16 18:25:44 UTC
svn commit: r657125 -
/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java
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