hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1512524 - /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
Date Fri, 09 Aug 2013 23:01:58 GMT
Author: stack
Date: Fri Aug  9 23:01:58 2013
New Revision: 1512524

URL: http://svn.apache.org/r1512524
Log:
HBASE-9168 TestMetaMigrationConvertingToPB fails on hadoop 2.0 due to FileNotFoundException

Modified:
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java?rev=1512524&r1=1512523&r2=1512524&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
Fri Aug  9 23:01:58 2013
@@ -111,6 +111,7 @@ public class NamespaceUpgrade implements
 
     //migrate tables including archive and tmp
     for(Path baseDir: baseDirs) {
+      if (!fs.exists(baseDir)) continue;
       List<Path> oldTableDirs = FSUtils.getLocalTableDirs(fs, baseDir);
       for(Path oldTableDir: oldTableDirs) {
         if (!sysTables.contains(oldTableDir.getName())) {



Mime
View raw message