You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/02/16 13:14:07 UTC

[jira] [Commented] (AMBARI-20636) Allow users to add custom configs for Ranger service in all plugins

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

Hudson commented on AMBARI-20636:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-20636 Allow users to add custom configs for Ranger service in all (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=419513504e801e86509a7126f08dfcb551f0aad6])
* (edit) ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
* (edit) ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
* (edit) ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/HIVE/2.1.0.3.0/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py


> Allow users to add custom configs for Ranger service in all plugins
> -------------------------------------------------------------------
>
>                 Key: AMBARI-20636
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20636
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.1
>            Reporter: Mugdha Varadkar
>            Assignee: Mugdha Varadkar
>            Priority: Major
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-20636-trunk.patch, AMBARI-20636.patch
>
>
> In order to help Ranger to communicate with Hive metastore (in cloud env) there is a need to allow users to add custom configs from Ambari, which needs to be added as part of Ranger service which gets created on Enabling plugins.
> This will be helpful for all plugins to define n-number of custom configs from Ambari.
> To add those configs, need to follow prefix "*ranger.service.config.param*" + config parameter.
> {panel:title=For blueprint based installs need to give those configs as below}
> {noformat}
> "ranger-<component>-plugin-properties": {
>   "ranger.service.config.param.configParameter1" : "vaule1",
>   "ranger.service.config.param.configParameter2" : "value2"
> }
> {noformat}
> {panel}
> {panel:title=For example in case of Hive}
> {noformat}
> "ranger-hive-plugin-properties": {
> "ranger.service.config.param.enable.hive.metastore.lookup": "false",
> "ranger.service.config.param.hive.site.file.path": "/etc/hive/conf/hive-site.xml"
> }
> {noformat}
> {panel}
> For UI based installs add those properties in custom section under ranger-<component>-plugin-properties. So that first restart of the component can take those value after enabling the plugin for the component.
> Note: This implies that if the service already existing in Ranger and user adds custom properties this will not be added to the existing service present in Ranger.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)