[
https://issues.apache.org/jira/browse/AMBARI-16869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300311#comment-15300311
]
Robert Levas commented on AMBARI-16869:
---------------------------------------
[~ababiichuk],
Looking at this patch, I am confused as to why the conditional at
{{ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py:143}}
was changed in that way.
By relying on the existence of the {{KERBEROS}} service, we run the risk of
blindly setting {{hbase.master.ui.readonly}} because it is possible to have the
{{KERBEROS}} servic installed in a non-Kerberized cluster.
Instead, maybe we should investigate what is wrong with
{code}
if "cluster-env" in services["configurations"] and "security_enabled" in
services["configurations"]["cluster-env"]["properties"] \
and
services["configurations"]["cluster-env"]["properties"]["security_enabled"].lower()
== "true":
{code}
> Stack advisor recommendation not working for HBASE
> --------------------------------------------------
>
> Key: AMBARI-16869
> URL: https://issues.apache.org/jira/browse/AMBARI-16869
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Andrii Babiichuk
> Assignee: Andrii Babiichuk
> Fix For: 2.4.0
>
> Attachments: AMBARI-16869.patch
>
>
> stackadvisor should set 'hbase.master.ui.readonly' - 'true' for secure
> cluster and 'false' for unsecure
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)