ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject git commit: AMBARI-4192. No HBase shows Active for stack 1.3.3 (ncole)
Date Sat, 28 Dec 2013 13:32:57 GMT
Updated Branches:
  refs/heads/trunk c80d16e7f -> c1375bcca


AMBARI-4192. No HBase shows Active for stack 1.3.3 (ncole)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c1375bcc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c1375bcc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c1375bcc

Branch: refs/heads/trunk
Commit: c1375bcca70b26e06970d00c0f7103b355f56362
Parents: c80d16e
Author: Nate Cole <ncole@hortonworks.com>
Authored: Sat Dec 28 08:32:53 2013 -0500
Committer: Nate Cole <ncole@hortonworks.com>
Committed: Sat Dec 28 08:32:53 2013 -0500

----------------------------------------------------------------------
 ambari-web/app/mappers/service_metrics_mapper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c1375bcc/ambari-web/app/mappers/service_metrics_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/service_metrics_mapper.js b/ambari-web/app/mappers/service_metrics_mapper.js
index 5394eaf..c25e353 100644
--- a/ambari-web/app/mappers/service_metrics_mapper.js
+++ b/ambari-web/app/mappers/service_metrics_mapper.js
@@ -283,7 +283,7 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
           }
         } else if (hostComponent.component_name === 'HBASE_MASTER') {
           if (hostComponent.work_status === 'STARTED') {
-            hostComponent.ha_status == 'true' ?
+            (hostComponent.ha_status === true || hostComponent.ha_status == 'true') ?
               hostComponent.display_name_advanced = this.t('dashboard.services.hbase.masterServer.active')
:
               hostComponent.display_name_advanced = this.t('dashboard.services.hbase.masterServer.standby');
           } else {


Mime
View raw message