HBASE-18941 Confusing logging error around rerun of restore on an existing table.

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
Amit 2017-10-04 22:25:15 +05:30 committed by tedyu
parent 2a5b6bc681
commit b45655f56d
1 changed files with 3 additions and 3 deletions

View File

@ -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, "