You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/05/11 22:17:46 UTC
svn commit: r1481401 -
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
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;
}