Author: yusaku
Date: Thu Jan 31 00:13:41 2013
New Revision: 1440741
URL: http://svn.apache.org/viewvc?rev=1440741&view=rev
Log:
AMBARI-1281. Heatmap does not show up if the cluster was installed by going
back to a previous step from the Deploy step after an install failure. (yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/controllers/main/charts/heatmap.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1440741&r1=1440740&r2=1440741&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Jan 31 00:13:41 2013
@@ -191,7 +191,11 @@ Trunk (unreleased changes):
BUG FIXES
- AMBARI-1300. Service status / host component status can get stuck in the
+ AMBARI-1281. Heatmap does not show up if the cluster was installed by going
+ back to a previous step from the Deploy step after an install failure.
+ (yusaku)
+
+ AMBARI-1300. Service status / host component status can get stuck in the
green blinking state if stop fails - no further operation can be performed.
(srimanth via yusaku)
Modified:
incubator/ambari/trunk/ambari-web/app/controllers/main/charts/heatmap.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/main/charts/heatmap.js?rev=1440741&r1=1440740&r2=1440741&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/main/charts/heatmap.js
(original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/main/charts/heatmap.js
Thu Jan 31 00:13:41 2013
@@ -19,7 +19,9 @@ var App = require('app');
App.MainChartsHeatmapController = Em.Controller.extend({
name: 'mainChartsHeatmapController',
- cluster: App.Cluster.find(1),
+ cluster: function() {
+ return App.Cluster.find().objectAt(0);
+ }.property(''),
allMetrics: function(){
var metrics = [
Em.Object.create({