in ambari-web/app/views/main/dashboard.js [336:366]
widgetsMapper: function (id) {
switch(id){
case '1': return App.NameNodeHeapPieChartView;
case '2': return App.NameNodeCapacityPieChartView;
case '3': return App.NameNodeCpuPieChartView;
case '4': return App.DataNodeUpView;
case '5': return App.NameNodeRpcView;
case '6': return App.JobTrackerHeapPieChartView;
case '7': return App.JobTrackerCpuPieChartView;
case '8': return App.TaskTrackerUpView;
case '9': return App.JobTrackerRpcView;
case '10': return App.MapReduceSlotsView;
case '11': return App.ChartClusterMetricsMemoryWidgetView;
case '12': return App.ChartClusterMetricsNetworkWidgetView;
case '13': return App.ChartClusterMetricsCPUWidgetView;
case '14': return App.ChartClusterMetricsLoadWidgetView;
case '15': return App.NameNodeUptimeView;
case '16': return App.JobTrackerUptimeView;
case '17': return App.HDFSLinksView;
case '18': return App.MapReduceLinksView;
case '19': return App.HBaseLinksView;
case '20': return App.HBaseMasterHeapPieChartView;
case '21': return App.HBaseAverageLoadView;
case '22': return App.HBaseRegionsInTransitionView;
case '23': return App.HBaseMasterUptimeView;
case '24': return App.ResourceManagerHeapPieChartView;
case '25': return App.ResourceManagerUptimeView;
case '26': return App.NodeManagersLiveView;
case '27': return App.YARNMemoryPieChartView;
}
},