{{view.service.regionsInTransition}}
diff --git a/ambari-web/app/views/main/service/services/hbase.js b/ambari-web/app/views/main/service/services/hbase.js
index fd889a99d08..37fbe8c15a2 100644
--- a/ambari-web/app/views/main/service/services/hbase.js
+++ b/ambari-web/app/views/main/service/services/hbase.js
@@ -50,6 +50,8 @@ App.MainDashboardServiceHbaseView = App.MainDashboardServiceView.extend({
phoenixServersText: Em.computed.countBasedMessage('service.phoenixServersTotal', '', Em.I18n.t('services.service.summary.viewHost'), Em.I18n.t('services.service.summary.viewHosts')),
+ thriftServersText: Em.computed.countBasedMessage('service.thriftServersTotal', '', Em.I18n.t('services.service.summary.viewHost'), Em.I18n.t('services.service.summary.viewHosts')),
+
/**
* One(!) active master component
*/
@@ -87,11 +89,19 @@ App.MainDashboardServiceHbaseView = App.MainDashboardServiceView.extend({
componentName: 'PHOENIX_QUERY_SERVER'
}),
+ thriftServerComponent: Em.Object.create({
+ componentName: 'HBASE_THRIFT'
+ }),
+
isRegionServerCreated: function () {
return this.isServiceComponentCreated('HBASE_REGIONSERVER');
}.property('App.router.clusterController.isComponentsStateLoaded'),
isPhoenixQueryServerCreated: function () {
return this.isServiceComponentCreated('PHOENIX_QUERY_SERVER');
+ }.property('App.router.clusterController.isComponentsStateLoaded'),
+
+ isThriftServerCreated: function () {
+ return this.isServiceComponentCreated('HBASE_THRIFT');
}.property('App.router.clusterController.isComponentsStateLoaded')
});
diff --git a/ambari-web/test/views/main/service/services/hbase_test.js b/ambari-web/test/views/main/service/services/hbase_test.js
index f8f194181c6..b4e46d13d3f 100644
--- a/ambari-web/test/views/main/service/services/hbase_test.js
+++ b/ambari-web/test/views/main/service/services/hbase_test.js
@@ -41,6 +41,8 @@ describe('App.MainDashboardServiceHbaseView', function () {
App.TestAliases.testAsComputedCountBasedMessage(getView(), 'phoenixServersText', 'service.phoenixServersTotal', '', Em.I18n.t('services.service.summary.viewHost'), Em.I18n.t('services.service.summary.viewHosts'));
+ App.TestAliases.testAsComputedCountBasedMessage(getView(), 'thriftServersText', 'service.thriftServersTotal', '', Em.I18n.t('services.service.summary.viewHost'), Em.I18n.t('services.service.summary.viewHosts'));
+
describe('#averageLoad', function () {
beforeEach(function () {