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:
parent
2a5b6bc681
commit
b45655f56d
|
@ -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, "
|
||||||
|
|
Loading…
Reference in New Issue