You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/07/12 20:03:00 UTC
[jira] [Commented] (AMBARI-21448) atlas_hbase_setup.rb scripts is
executed only in secure or ranger enabled cluster. It is not executed on
unsecure/simple cluster.
[ https://issues.apache.org/jira/browse/AMBARI-21448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084588#comment-16084588 ]
Hadoop QA commented on AMBARI-21448:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12876904/AMBARI-21448.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in ambari-server.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11777//console
This message is automatically generated.
> atlas_hbase_setup.rb scripts is executed only in secure or ranger enabled cluster. It is not executed on unsecure/simple cluster.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-21448
> URL: https://issues.apache.org/jira/browse/AMBARI-21448
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: trunk
> Reporter: Ayub Pathan
> Assignee: Ayub Pathan
> Fix For: trunk
>
> Attachments: AMBARI-21448.patch
>
>
> atlas_hbase_setup.rb scripts is executed only in secure or ranger enabled cluster. It is not executed on unsecure/simple cluster, Is this intentional?
> we need to create the hbase table required for atlas in unsecure cluster as well.
> Reference: https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/ATLAS/0.7.0.3.0/package/scripts/metadata_server.py#L93
> {code}
> if check_stack_feature(StackFeature.ATLAS_HBASE_SETUP, effective_version):
> if params.security_enabled and params.has_hbase_master:
> Execute(secure_atlas_hbase_setup_command,
> tries = 5,
> try_sleep = 10,
> user=params.hbase_user
> )
> elif params.enable_ranger_hbase and not params.security_enabled:
> Execute(atlas_hbase_setup_command,
> tries = 5,
> try_sleep = 10,
> user=params.hbase_user
> )
> {code}
> The above condition should be
> {noformat}
> if check_stack_feature(StackFeature.ATLAS_HBASE_SETUP, effective_version):
> if params.security_enabled and params.has_hbase_master:
> Execute(secure_atlas_hbase_setup_command,
> tries = 5,
> try_sleep = 10,
> user=params.hbase_user
> )
> elif params.enable_ranger_hbase or not params.security_enabled:
> Execute(atlas_hbase_setup_command,
> tries = 5,
> try_sleep = 10,
> user=params.hbase_user
> )
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)