Explorar o código

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

aBabiichuk %!s(int64=11) %!d(string=hai) anos
pai
achega
a4d5324a7b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();