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

Sumit Mohanty commented on SLIDER-740:
--------------------------------------

We need to modify the patch a bit - mostly due to the nuances of the python 
resource management library that Slider uses.

Instead of
{noformat}
+hbase_opts = config['configurations']['hbase-env']['hbase_opts']
+if is_empty(hbase_opts):
+  hbase_opts = ''
{noformat}

you can use
{code}
hbase_opts = default('/configurations/hbase-env/hbase_opts', '')
{code}

> support configurating HBASE_OPTS
> --------------------------------
>
>                 Key: SLIDER-740
>                 URL: https://issues.apache.org/jira/browse/SLIDER-740
>             Project: Slider
>          Issue Type: Improvement
>          Components: app-package
>    Affects Versions: Slider 0.60
>            Reporter: Yang Hao
>            Assignee: Sumit Mohanty
>             Fix For: Slider 0.70
>
>         Attachments: SLIDER-740.patch
>
>
> It would be very helpful that we can add some additional jvm options to the 
> HBASE cluster. An alternative way is to configure HBASE_OPTS. Adding this 
> patch, user can make it by adding "site.hbase-env.hbase_opts" in 
> appConf.json, such as
> "site.hbase-env.hbase_opts":" 
> -Djava.security.krb5.conf=/home/work/app/yarn/lgtst-xiaomi2/nodemanager/krb5.conf
>  ",



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

Reply via email to