hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13449) HBASE_REGIONSERVER_OPTS in local-regionservers.sh is masked and silently reset.
Date Sat, 27 Jun 2015 00:31:06 GMT

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

Andrew Purtell commented on HBASE-13449:
----------------------------------------

Are you running more than one regionserver per host? If not, you don't need local-regionservers.sh.
The usual way to launch a regionserver is:
{noformat}
./bin/hbase-daemon.sh start regionserver 
{noformat}
If neither option will suffice because of the demands of your local environment, consider
using the bin scripts as a template for something more suitable. 

> 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]
> export HBASE_REGIONSERVER_OPTS=" "
> 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
file?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message