hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Kabra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18941) Confusing logging error around rerun of restore on an existing table.
Date Wed, 04 Oct 2017 16:54:00 GMT
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)

Mime
View raw message