Parcourir la source

AMBARI-6701 HBase did not put to Maintenance Mode during Rolling Restart for RegionServers with checked 'Turn On Maintenance Mode'.(ababiichuk)

aBabiichuk il y a 11 ans
Parent
commit
a4d5324a7b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ambari-web/app/utils/batch_scheduled_requests.js

+ 1 - 1
ambari-web/app/utils/batch_scheduled_requests.js

@@ -452,7 +452,7 @@ module.exports = {
         var waitTime = this.get('innerView.interBatchWaitTimeSeconds');
         var tolerateSize = this.get('innerView.tolerateSize');
         if (this.get('innerView.turnOnMm')) {
-          self.turnOnOffPassiveRequest('ON', Em.I18n.t('passiveState.turnOnFor').format(serviceName), serviceName);
+          self.turnOnOffPassiveRequest('ON', Em.I18n.t('passiveState.turnOnFor').format(serviceName), serviceName.toUpperCase());
         }
         self._doPostBatchRollingRestartRequest(restartComponents, batchSize, waitTime, tolerateSize, function(data, ajaxOptions, params) {
           dialog.hide();