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/12 20:05:12 UTC

[jira] [Commented] (HBASE-5534) HBase shell's return value is almost always 0

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

Sean Busbey commented on HBASE-5534:
------------------------------------

[~posix4e] do the changes in HBASE-11658 sufficiently fix this for you?

> HBase shell's return value is almost always 0
> ---------------------------------------------
>
>                 Key: HBASE-5534
>                 URL: https://issues.apache.org/jira/browse/HBASE-5534
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Alex Newman
>
> So I was trying to write some simple scripts to verify client connections to HBase using the shell and I noticed that the HBase shell always returns 0 even when it can't connect to an HBase server. I'm not sure if this is the best option. What would be neat is if you had some capability to run commands like
> hbase shell --command='disable table;\ndrop table;' and it would error out if any of the commands fail to succeed. echo "disable table" | hbase shell could continue to work as it does now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)