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)

Reply via email to