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

Enis Soztutar commented on HBASE-11658:
---------------------------------------

bq. Enis Soztutar, Andrew Purtell do you guys want this in your respective 
branches?
Sorry I missed this. I'll just commit this to 1.2 seems useful. 





> Piped commands to hbase shell should return non-zero if shell command failed.
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-11658
>                 URL: https://issues.apache.org/jira/browse/HBASE-11658
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hsieh
>            Assignee: Sean Busbey
>             Fix For: 2.0.0
>
>         Attachments: HBASE-11658.manual_test.log, HBASE-11658.patch, 
> HBASE_11658-v2.patch, test_shell.sh
>
>
> See HBASE-11655.  We would like the shell to return non-zero when a command 
> that has been piped to it fails in "scripting mode".  This could be due to 
> invalid commands or commands issued with invalid arguments.
> This would lower the barrier to entry for hbase admins so they could 
> effectively script some operations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to