Pārlūkot izejas kodu

AMBARI-1077. The value for dead nodes is not getting populated on UI. (Srimanth Gunturi via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1431601 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 gadi atpakaļ
vecāks
revīzija
06156c5e57
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 3 0
      CHANGES.txt
  2. 1 4
      ambari-web/app/mappers/service_mapper.js

+ 3 - 0
CHANGES.txt

@@ -648,6 +648,9 @@ AMBARI-666 branch (unreleased changes)
 
   BUG FIXES
 
+  AMBARI-1077. The value for dead nodes is not getting populated on UI.
+  (Srimanth Gunturi via yusaku)
+
   AMBARI-1073. Remove cluster name entry from top titlebar. (Srimanth Gunturi
   via yusaku)
 

+ 1 - 4
ambari-web/app/mappers/service_mapper.js

@@ -236,7 +236,6 @@ App.servicesMapper = App.QuickDataMapper.create({
             });
           }
           // Dead data nodes
-          /** Uncomment when BUG-2368 is fixed.
           dataNodes = e.get('deadDataNodes');
           if (dataNodes) {
             dataNodes.clear();
@@ -244,7 +243,6 @@ App.servicesMapper = App.QuickDataMapper.create({
               dataNodes.pushObject(App.Host.find(ldn));
             });
           }
-          */
         });
         break;
       case 'MAPREDUCE':
@@ -312,8 +310,7 @@ App.servicesMapper = App.QuickDataMapper.create({
           item.live_data_nodes.push(ln);
         }
         for (var dn in deadNodesJson) {
-          // Uncomment when BUG-2368 is fixed.
-          //item.dead_data_nodes.push(dn);
+          item.dead_data_nodes.push(dn);
         }
         for (var dcn in decommissionNodesJson) {
           item.decommission_data_nodes.push(dcn);