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 2016/06/23 17:23:01 UTC
hbase git commit: HBASE-16088 hbase restore gives a misleading
message if the table doesn't exist
Repository: hbase
Updated Branches:
refs/heads/HBASE-7912 c1dc64179 -> eaa3217f1
HBASE-16088 hbase restore gives a misleading message if the table doesn't exist
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/eaa3217f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/eaa3217f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/eaa3217f
Branch: refs/heads/HBASE-7912
Commit: eaa3217f10dadd36c111af8983b21059d7ee56d1
Parents: c1dc641
Author: tedyu <yu...@gmail.com>
Authored: Thu Jun 23 10:22:46 2016 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Thu Jun 23 10:22:46 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/eaa3217f/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java
index e9c607b..1fc0a92 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HBackupFileSystem.java
@@ -105,7 +105,9 @@ public class HBackupFileSystem {
+ BackupManifest.MANIFEST_FILE_NAME);
if (!fs.exists(manifestPath)) {
String errorMsg =
- "Could not find backup manifest for " + backupId + " in " + backupRootPath.toString();
+ "Could not find backup manifest " + BackupManifest.MANIFEST_FILE_NAME + " for " +
+ backupId + " in " + backupRootPath.toString() +
+ ". Did " + backupId + " correspond to previously taken backup ?";
throw new IOException(errorMsg);
}
}