You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Xin Hao (JIRA)" <ji...@apache.org> on 2014/06/24 04:04:24 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14041595#comment-14041595 ]
Xin Hao edited comment on BIGTOP-1127 at 6/24/14 2:02 AM:
----------------------------------------------------------
Hi Sean, Could you assign this bug/issue to me? Thanks.
was (Author: xhao1):
Hi Sean, Could you assign this big to me? Thanks.
> 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)