|
@@ -94,7 +94,7 @@ App.StackServiceComponent = DS.Model.extend({
|
|
}.property('isShownOnInstallerAssignMasterPage','App.isHaEnabled'),
|
|
}.property('isShownOnInstallerAssignMasterPage','App.isHaEnabled'),
|
|
|
|
|
|
isMasterWithMultipleInstances: function() {
|
|
isMasterWithMultipleInstances: function() {
|
|
- var masters = ['ZOOKEEPER_SERVER', 'HBASE_MASTER', 'NAMENODE', 'JOURNALNODE'];
|
|
|
|
|
|
+ var masters = ['ZOOKEEPER_SERVER', 'HBASE_MASTER', 'NAMENODE', 'JOURNALNODE', 'RESOURCEMANAGER'];
|
|
return masters.contains(this.get('componentName'));
|
|
return masters.contains(this.get('componentName'));
|
|
}.property('componentName'),
|
|
}.property('componentName'),
|
|
|
|
|
|
@@ -136,7 +136,7 @@ App.StackServiceComponent = DS.Model.extend({
|
|
// default number of master hosts on Assign Master page:
|
|
// default number of master hosts on Assign Master page:
|
|
defaultNoOfMasterHosts: function() {
|
|
defaultNoOfMasterHosts: function() {
|
|
var componentName = this.get('componentName');
|
|
var componentName = this.get('componentName');
|
|
- if (this.get('isMasterWithMultipleInstances')) {
|
|
|
|
|
|
+ if (this.get('isMasterAddableInstallerWizard')) {
|
|
return App.StackServiceComponent.cardinality(componentName).min;
|
|
return App.StackServiceComponent.cardinality(componentName).min;
|
|
}
|
|
}
|
|
}.property('componentName'),
|
|
}.property('componentName'),
|
|
@@ -145,11 +145,6 @@ App.StackServiceComponent = DS.Model.extend({
|
|
return App.StackServiceComponent.selectionScheme(this.get('componentName'));
|
|
return App.StackServiceComponent.selectionScheme(this.get('componentName'));
|
|
}.property('componentName'),
|
|
}.property('componentName'),
|
|
|
|
|
|
- isMasterWithMultipleInstancesHaWizard: function() {
|
|
|
|
- var masters = ['NAMENODE', 'JOURNALNODE'];
|
|
|
|
- return masters.contains(this.get('componentName'));
|
|
|
|
- }.property('componentName'),
|
|
|
|
-
|
|
|
|
// components that are co-hosted with this component
|
|
// components that are co-hosted with this component
|
|
coHostedComponents: function() {
|
|
coHostedComponents: function() {
|
|
var componentName = this.get('componentName');
|
|
var componentName = this.get('componentName');
|