You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "BDT QA (JIRA)" <ji...@apache.org> on 2014/06/24 03:30:25 UTC

[jira] [Issue Comment Deleted] (BIGTOP-1127) Make return value of HBase RegionServer init script more explicit

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

BDT QA updated BIGTOP-1127:
---------------------------

    Comment: was deleted

(was: Submit patch which fixes BIGTOP-1127: Make return value of HBase RegionServer init script more explicit)

> Make return value of HBase RegionServer init script more explicit
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-1127
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1127
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Init scripts
>    Affects Versions: 0.7.0
>            Reporter: Sean Mackrory
>            Priority: Minor
>         Attachments: BIGTOP-1127.patch
>
>
> In the case statement at the very bottom of /etc/init.d/hbase-regionserver, we are picking up the return code implicitly. We should perhaps be explicitly collecting the code returned by each of the functions (start, stop, etc.) in a new variable and return that variable in the end instead of $?. This might make the code less fragile when being changed.



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