hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13449) HBASE_REGIONSERVER_OPTS in local-regionservers.sh is masked and silently reset.
Date Fri, 10 Apr 2015 22:54:12 GMT

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

Josh Elser commented on HBASE-13449:

I believe the intent of setting that variable to the empty string is that local_regionservers.sh
is intended to support more than one region server running on a single host. If that's the
case, as the comment alludes, all but one of the regionservers would fail being unable to
bind to a specific port that was already taken.

> HBASE_REGIONSERVER_OPTS in local-regionservers.sh is masked and silently reset.
> -------------------------------------------------------------------------------
>                 Key: HBASE-13449
>                 URL: https://issues.apache.org/jira/browse/HBASE-13449
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Dev Lakhani
> In local-regionserver.sh there is a line which masks the current HBASE_REGIONSERVER_OPTS
> https://github.com/apache/hbase/blob/master/bin/local-regionservers.sh#L38
> # sanity check: make sure your regionserver opts don't use ports [i.e. JMX/DBG]
> We are having trouble with this because:
> 1) As per normal Hadoop convention env variables should be in hbase-env.sh, as with other
daemons this is where we set jmx/jvm properties.
> 2) Whatever we set in hbase-env.sh gets masked by this line.
> Is there any reason this line is included in the runner and can it be moved to the env.sh

This message was sent by Atlassian JIRA

View raw message