[ 
https://issues.apache.org/jira/browse/HBASE-20256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411611#comment-16411611
 ] 

Peter Somogyi commented on HBASE-20256:
---------------------------------------

Snapshot commands do not work as intended. Mostly because IsRestoreSnapshotDone 
is not available and the running operation can't check the current status, but 
for example the restore succeeds in the background. 
{noformat}
hbase(main):063:0> restore_snapshot 'ltt-snap1'

2018-03-20 11:03:01,152 ERROR [main] client.HBaseAdmin: Failed to restore and 
rollback to snapshot=hbase-failsafe-ltt-snap1-1521540180122

org.apache.hadoop.hbase.snapshot.RestoreSnapshotException: 
org.apache.hadoop.hbase.snapshot.RestoreSnapshotException: Restore already in 
progress on the table=ltt


<stacktrace>                                                      


ERROR: /172.30.64.188:16000 is unable to read call parameter from client 
172.30.64.188; java.lang.UnsupportedOperationException: IsRestoreSnapshotDone


NOTE: The restore succeeds but the command can’t check when the operation is 
finished.{noformat}

> Document commands that do not work with 1.2 shell
> -------------------------------------------------
>
>                 Key: HBASE-20256
>                 URL: https://issues.apache.org/jira/browse/HBASE-20256
>             Project: HBase
>          Issue Type: Sub-task
>          Components: documentation, shell
>    Affects Versions: 2.0.0
>            Reporter: Peter Somogyi
>            Priority: Major
>
> Some commands do not work from 1.2 shell when running against 2.0 server. Add 
> a section to the reference guide mentioning the incompatibilities.
> Some of these are collected in this document: 
> https://docs.google.com/document/d/1l2ad5G_GUk0WQ02xKeKO6mTbpdyZjU1NGuPPI42Wbf4/edit



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to