Selaa lähdekoodia

AMBARI-15358: Enable bulk operation for HAWQ Segments and PXF on Hosts page (gowtam tadi via bhuvnesh2703)

Bhuvnesh Chaudhary 9 vuotta sitten
vanhempi
commit
1e673420e5

+ 2 - 0
ambari-web/app/messages.js

@@ -2633,6 +2633,8 @@ Em.I18n.translations = {
   'dashboard.services.yarn.memory.msg': '{0} used / {1} reserved / {2} available',
   'dashboard.services.yarn.queues': 'Queues',
   'dashboard.services.yarn.queues.msg': '{0} Queues',
+  'dashboard.services.hawq.hawqSegments':'HAWQ Segments',
+  'dashboard.services.pxf.pxfHosts':'PXF',
 
   'dashboard.services.flume.summary.title':'Flume installed on {0} host{1} ({2} agent{3})',
   'dashboard.services.flume.summary.configure':'Configure Agents',

+ 10 - 0
ambari-web/app/views/main/host/hosts_table_menu_view.js

@@ -57,6 +57,16 @@ App.HostTableMenuView = Em.View.extend({
         masterComponentName: 'HBASE_MASTER',
         componentNameFormatted: Em.I18n.t('dashboard.services.hbase.regionServers')
       }),
+      O.create({
+        serviceName: 'HAWQ',
+        componentName: 'HAWQSEGMENT',
+        componentNameFormatted: Em.I18n.t('dashboard.services.hawq.hawqSegments')
+      }),
+      O.create({
+        serviceName: 'PXF',
+        componentName: 'PXF',
+        componentNameFormatted: Em.I18n.t('dashboard.services.pxf.pxfHosts')
+      }),
       O.create({
         serviceName: 'STORM',
         componentName: 'SUPERVISOR',