You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/08/06 20:06:13 UTC

[jira] [Updated] (HBASE-11658) Piped commands to hbase shell should return non-zero if shell command failed.

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

Sean Busbey updated HBASE-11658:
--------------------------------

    Attachment: HBASE-11658.manual_test.log
                test_shell.sh
                HBASE-11658.patch

attaching patch so that QA can take a run at it.

Also attaching bash script used for manually verifying behavior and the log from a run of it.

> 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)