|
@@ -539,6 +539,9 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
if (App.Service.find().someProperty('serviceName', 'HIVE')) {
|
|
|
urlParams.push('(type=webhcat-site&tag=' + data.Clusters.desired_configs['webhcat-site'].tag + ')');
|
|
|
}
|
|
|
+ if (App.Service.find().someProperty('serviceName', 'STORM')) {
|
|
|
+ urlParams.push('(type=storm-site&tag=' + data.Clusters.desired_configs['storm-site'].tag + ')');
|
|
|
+ }
|
|
|
App.ajax.send({
|
|
|
name: 'reassign.load_configs',
|
|
|
sender: this,
|
|
@@ -574,6 +577,9 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
if (configs['webhcat-site']) {
|
|
|
configs['webhcat-site']['templeton.zookeeper.hosts'] = zks_with_port;
|
|
|
}
|
|
|
+ if (configs['storm-site']) {
|
|
|
+ configs['storm-site']['storm.zookeeper.servers'] = JSON.stringify(zks).replace(/"/g, "'");
|
|
|
+ }
|
|
|
for (var site in configs) {
|
|
|
if (!configs.hasOwnProperty(site)) continue;
|
|
|
App.ajax.send({
|