You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2013/10/25 20:50:30 UTC

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

Sean Mackrory created BIGTOP-1127:
-------------------------------------

             Summary: 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
            Reporter: Sean Mackrory
            Priority: Minor


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.1#6144)