You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Amit Kabra (JIRA)" <ji...@apache.org> on 2017/10/04 16:54:00 UTC

[jira] [Created] (HBASE-18941) Confusing logging error around rerun of restore on an existing table.

Amit Kabra created HBASE-18941:
----------------------------------

             Summary: Confusing logging error around rerun of restore on an existing table.
                 Key: HBASE-18941
                 URL: https://issues.apache.org/jira/browse/HBASE-18941
             Project: HBase
          Issue Type: Bug
            Reporter: Amit Kabra
            Assignee: Amit Kabra
            Priority: Minor


On executing restore command on already existing table

{code}./hbase restore hdfs://localhost:8020/test/ backup_1506352287382 -t test1 -m test1_restore_incremental{code}

Output
======
2017-09-25 20:46:44,624 ERROR [main] impl.RestoreTablesClient: Existing table ([test1_restore_incremental]) found in the restore target, please add "-overwrite" option in the command if you mean to restore to these existing tables
java.io.IOException: Existing table found in target while no "-overwrite" option found

But when we run the restore command again with the -overwrite option it gives error
{code}./hbase restore hdfs://localhost:8020/saleforce/ backup_1506352287382 -t raj1 -m raj1_restore_incremental -overwrite{code}
Error when parsing command-line arguments: Unrecognized option: -overwrite




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)