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 11aa6742f0
commit 1ec6ece918
1 changed files with 3 additions and 3 deletions

View File

@ -108,10 +108,10 @@ public class RestoreTablesClient {
if (!isOverwrite) { if (!isOverwrite) {
LOG.error("Existing table (" + existTableList LOG.error("Existing table (" + existTableList
+ ") found in the restore target, please add " + ") 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"); + " to restore to these existing tables");
throw new IOException("Existing table found in target while no \"-overwrite\" " throw new IOException("Existing table found in target while no \"-o\" "
+ "option found"); + "as overwrite option found");
} else { } else {
if (disabledTableList.size() > 0) { if (disabledTableList.size() > 0) {
LOG.error("Found offline table in the restore target, " LOG.error("Found offline table in the restore target, "