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 2016/04/01 00:26:25 UTC
[jira] [Commented] (AMBARI-15443) Make Host bulk command menu item
list stack driven instead of a hardcoded list in UI code
[ https://issues.apache.org/jira/browse/AMBARI-15443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220774#comment-15220774 ]
Hudson commented on AMBARI-15443:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4575 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4575/])
AMBARI-15443:Make Host bulk command menu item list stack driven instead (dili: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2410929485dc8d8b3baac28528d8762322d748a4])
* ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml
* ambari-web/app/models/stack_service_component.js
* ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metainfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6/services/HBASE/metainfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HBASE/metainfo.xml
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackServiceComponentResourceProvider.java
* ambari-server/src/main/resources/common-services/PXF/3.0.0/metainfo.xml
* ambari-server/src/main/resources/common-services/HAWQ/2.0.0/metainfo.xml
* ambari-web/app/mappers/stack_service_mapper.js
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml
* ambari-web/app/views/main/host/hosts_table_menu_view.js
* ambari-server/src/main/java/org/apache/ambari/server/state/ComponentInfo.java
* ambari-server/src/main/resources/properties.json
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml
* ambari-server/src/main/java/org/apache/ambari/server/state/BulkCommandDefinition.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/ComponentModuleTest.java
* ambari-server/src/main/java/org/apache/ambari/server/stack/ComponentModule.java
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
* ambari-web/test/mappers/stack_service_mapper_test.js
* ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceComponentResponse.java
> Make Host bulk command menu item list stack driven instead of a hardcoded list in UI code
> -----------------------------------------------------------------------------------------
>
> Key: AMBARI-15443
> URL: https://issues.apache.org/jira/browse/AMBARI-15443
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server, ambari-web
> Affects Versions: trunk
> Reporter: Di Li
> Assignee: Di Li
> Fix For: trunk
>
> Attachments: AMBARI-15443.patch
>
>
> The items described here are the ones on the Hosts tab, in the Actions drop-down list where the UI shows entries such as All Hosts. If user mouses over the All Hosts, it shows a sub-list including Hosts and slave components.
> The slave component items are hardcoded in hosts_table_menu_view.js as shown below. This jira is to put this info into each service's metainfo.xml so that the slave component items can be stack driven.
> components: function () {
> var serviceNames = App.Service.find().mapProperty('serviceName');
> var menuItems = [
> O.create({
> serviceName: 'HDFS',
> componentName: 'DATANODE',
> masterComponentName: 'NAMENODE',
> componentNameFormatted: Em.I18n.t('dashboard.services.hdfs.datanodes')
> }),
> O.create({
> serviceName: 'YARN',
> componentName: 'NODEMANAGER',
> masterComponentName: 'RESOURCEMANAGER',
> componentNameFormatted: Em.I18n.t('dashboard.services.yarn.nodeManagers')
> }),
> O.create({
> serviceName: 'HBASE',
> componentName: 'HBASE_REGIONSERVER',
> masterComponentName: 'HBASE_MASTER',
> componentNameFormatted: Em.I18n.t('dashboard.services.hbase.regionServers')
> }),
> O.create({
> serviceName: 'STORM',
> componentName: 'SUPERVISOR',
> masterComponentName: 'SUPERVISOR',
> componentNameFormatted: Em.I18n.t('dashboard.services.storm.supervisors')
> })];
> return menuItems.filter(function (item) {
> return serviceNames.contains(item.serviceName);
> });
> }.property(),
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)