ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11964) Allow services to hide "custom" configurations
Date Thu, 19 Nov 2015 22:33:11 GMT

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

Hudson commented on AMBARI-11964:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #3870 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3870/])
AMBARI-11964. Allow services to hide "custom" configurations. (Di Li via (jaimin: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=eac8a0ce54099aad24d2baed0a2e4c3fb02d0e0e])
* ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/FLUME/configuration/flume-conf.xml
* ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/PIG/configuration/pig-properties.xml
* ambari-server/src/main/resources/stacks/HDP/2.3/services/PIG/configuration/pig-properties.xml
* ambari-web/app/views/common/configs/service_config_view.js
* ambari-server/src/main/resources/stacks/HDPWIN/2.1/services/FLUME/configuration/flume-conf.xml
* ambari-web/test/views/common/configs/service_config_view_test.js
* ambari-web/app/views/common/configs/service_configs_by_category_view.js
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/FLUME/configuration/flume-conf.xml
* ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/PIG/configuration/pig-properties.xml
* ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/configuration/flume-conf.xml
* ambari-server/src/main/resources/stacks/HDP/2.1/services/PIG/configuration/pig-properties.xml
* ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/configuration/pig-properties.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6/services/FLUME/configuration/flume-conf.xml
* ambari-web/test/utils/config_test.js
* ambari-web/app/models/stack_service.js
* ambari-web/app/utils/config.js
* ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/PIG/configuration/pig-properties.xml
* ambari-server/src/test/resources/stacks/HDP/2.1.1/services/PIG/configuration/pig-properties.xml


> Allow services to hide "custom" configurations
> ----------------------------------------------
>
>                 Key: AMBARI-11964
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11964
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Dmitry Vasilenko
>            Assignee: Di Li
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-11964.patch
>
>
> Currently, the logic to hide custom configuration sections in the web UI is hardcoded
in the /ambari-web/app/models/stack_service.js
> {noformat}
> // Add custom section for every configType to all the services
> configTypes.forEach(function (type) {
> var configTypesWithNoCustomSection = ['capacity-scheduler','mapred-queue-acls','flume-conf',
'pig-properties','topology','users-ldif'];
> if (type.endsWith('-env') || type.endsWith('-log4j') || configTypesWithNoCustomSection.contains(type))
{
> return;
> }
> {noformat}
> It will be beneficial to have a declarative way for the Ambari services to hide the custom
configuration section in the web UI for the given configuration XML.



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

Mime
View raw message