[ 
https://issues.apache.org/jira/browse/HBASE-11658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hsieh updated HBASE-11658:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
     Release Note: Adds a noninteractive mode (-n or --noninteractive) to the 
hbase shell that exits with a non-zero error code on failed or invalid shell 
command executions, and exits with a zero error code upon successful execution. 
    
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

> 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.2#6252)

Reply via email to