[ 
https://issues.apache.org/jira/browse/HBASE-18941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-18941:
---------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Thanks for the patch, Amit.

Thanks for the review, Vlad.

> 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
>             Fix For: 2.0.0-alpha-4
>
>         Attachments: HBASE-18941.patch
>
>
> 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/test/ backup_1506352287382 -t 
> test1 -m test1_restore_incremental -overwrite{code}
> Error when parsing command-line arguments: Unrecognized option: -overwrite



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

Reply via email to