Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
On executing restore command on already existing table
./hbase restore hdfs://localhost:8020/test/ backup_1506352287382 -t test1 -m test1_restore_incremental
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
./hbase restore hdfs://localhost:8020/test/ backup_1506352287382 -t test1 -m test1_restore_incremental -overwrite
Error when parsing command-line arguments: Unrecognized option: -overwrite