[ https://issues.apache.org/jira/browse/HBASE-11656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093663#comment-14093663 ]
Sean Busbey commented on HBASE-11656: ------------------------------------- {quote} bq. If the snapshot is successful, the command will return 0. Otherwise, it will return a non-zero value. That is 100% not correct. If the client hit the operation timeout or lose the connection with the server you'll get a failure (non-zero value), which you are not able to interpret. The snapshot may be created or may not be created. {quote} Unknown state after timeout/connection errors are a problem with a bunch of the shell operations. Do we need to have a specified return code for them so that the docs can call it out as a special case before adding examples at all under HBASE-11655? > Document how to script snapshots > -------------------------------- > > Key: HBASE-11656 > URL: https://issues.apache.org/jira/browse/HBASE-11656 > Project: HBase > Issue Type: Sub-task > Components: documentation, shell > Reporter: Misty Stanley-Jones > Assignee: Misty Stanley-Jones > Attachments: HBASE-11656.patch, HBASE-11656.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)