You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/10/09 23:17:06 UTC

[jira] [Commented] (AMBARI-13379) Ranger plugin toggles should be hidden for the services that are not installed or selected to get install

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

Hudson commented on AMBARI-13379:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #664 (See [https://builds.apache.org/job/Ambari-branch-2.1/664/])
AMBARI-13379. Ranger plugin toggles should be hidden for the services (jaimin: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fb3076352433f4650850e293b96d983e83a255d5])
* ambari-web/app/mappers/configs/themes_mapper.js
* ambari-server/src/main/java/org/apache/ambari/server/state/theme/ConfigCondition.java
* ambari-web/app/models/configs/config_condition.js
* ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
* ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/themes/theme_version_2.json
* ambari-web/app/views/common/configs/service_config_layout_tab_view.js
* ambari-server/src/main/resources/stacks/HDP/2.2/services/RANGER/themes/theme_version_1.json
* ambari-web/app/views/common/configs/widgets/config_widget_view.js
* ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-admin-site.xml
* ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-env.xml


> Ranger plugin toggles should be hidden for the services that are not installed or selected to get install
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13379
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13379
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.3
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13379.patch, Ranger Plugin.png
>
>
> *STR:*
> # Install a cluster with atleast HDFS
> # Open Add Service wizard
> # Select Ranger service and partial set of services that is supported by Ranger. Don't select few services that are supported by Ranger
> # Go to Service configuration page -> Ranger service tab -> Ranger plugin smart config tab
> *Expected Result:* Services that are previously installed or selected to be install, and supported by Ranger should have toggles for Ranger Plugin
> *Actual Result:* Ranger Plugin for all services (even that are not installed or selected to be install) that are supported by Ranger are visible
> Also post installation on Ranger service configuration page, Ranger plugin should be visible for only installed services
> NOTE: As of Ambari-2.1.3 with HDP-2.3 stack: HDFS, YARN, KAFKA, KNOX, STORM, HIVE and HBASE are the ranger supported services 
> *Fix:*
> Added a resource property in config condition which defaults to 'config' value in ambari-web, if not explicitly specified in a config condition.
> It can be se to service when the *if* condition of a config needs to check service state instead of a config value. As of now state attribute has not been introduced and it's always presumed that service condition is for service being installed or available in the cluster. In the future when required we can introduce state attribute in config condition to support wider use cases



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