hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1481401 - /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
Date Sat, 11 May 2013 20:17:46 GMT
Author: tedyu
Date: Sat May 11 20:17:45 2013
New Revision: 1481401

URL: http://svn.apache.org/r1481401
Log:
HBASE-8530 Refine error message from ExportSnapshot when there is leftover snapshot in target
cluster (Ted Yu)


Modified:
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java?rev=1481401&r1=1481400&r2=1481401&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
Sat May 11 20:17:45 2013
@@ -608,7 +608,9 @@ public final class ExportSnapshot extend
 
     // Check if the snapshot already in-progress
     if (outputFs.exists(snapshotTmpDir)) {
-      System.err.println("A snapshot with the same name '" + snapshotName + "' is in-progress");
+      System.err.println("A snapshot with the same name '" + snapshotName + "' may be in-progress");
+      System.err.println("Please check " + snapshotTmpDir + ". If the snapshot has completed,
");
+      System.err.println("consider removing " + snapshotTmpDir + " before retrying export");

       return 1;
     }
 



Mime
View raw message