hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [56/60] [abbrv] hbase git commit: HBASE-18941 Confusing logging error around rerun of restore on an existing table.
Date Fri, 06 Oct 2017 04:15:35 GMT
HBASE-18941 Confusing logging error around rerun of restore on an existing table.

Signed-off-by: tedyu <yuzhihong@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1ec6ece9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1ec6ece9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1ec6ece9

Branch: refs/heads/HBASE-18467
Commit: 1ec6ece918a738cdb335bfb85f526f79c31e921e
Parents: 11aa674
Author: Amit <akabra@salesforce.com>
Authored: Wed Oct 4 22:25:15 2017 +0530
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Oct 4 11:04:18 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/backup/impl/RestoreTablesClient.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1ec6ece9/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java
----------------------------------------------------------------------
diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java
index f2237af..1d32c88 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java
+++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java
@@ -108,10 +108,10 @@ public class RestoreTablesClient {
       if (!isOverwrite) {
         LOG.error("Existing table (" + existTableList
             + ") found in the restore target, please add "
-            + "\"-overwrite\" option in the command if you mean"
+            + "\"-o\" as overwrite option in the command if you mean"
             + " to restore to these existing tables");
-        throw new IOException("Existing table found in target while no \"-overwrite\" "
-            + "option found");
+        throw new IOException("Existing table found in target while no \"-o\" "
+            + "as overwrite option found");
       } else {
         if (disabledTableList.size() > 0) {
           LOG.error("Found offline table in the restore target, "


Mime
View raw message