From 1ec6ece918a738cdb335bfb85f526f79c31e921e Mon Sep 17 00:00:00 2001 From: Amit Date: Wed, 4 Oct 2017 22:25:15 +0530 Subject: [PATCH] HBASE-18941 Confusing logging error around rerun of restore on an existing table. Signed-off-by: tedyu --- .../hadoop/hbase/backup/impl/RestoreTablesClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 f2237af61ef..1d32c88ee39 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, "