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

Jonathan Hsieh commented on HBASE-11658:
----------------------------------------

This is nice.  I tested on trunk, currently testing on branch-1 and 0.98. 

[~enis], [~apurtell] do you guys want this in your respective branches?

> 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
>         Attachments: HBASE-11658.manual_test.log, HBASE-11658.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.2#6252)

Reply via email to