ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Pathan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21448) atlas_hbase_setup.rb scripts is executed only in secure or ranger enabled cluster. It is not executed on unsecure/simple cluster.
Date Wed, 12 Jul 2017 18:01:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ayub Pathan updated AMBARI-21448:
---------------------------------
    Status: Patch Available  (was: Open)

Attaching patch for review.

> 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)

Mime
View raw message