You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/04/10 10:27:33 UTC

[ambari] branch trunk updated: AMBARI-23473 UI option to stop HDFS service doesnt work - JS Error

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 42ceadd  AMBARI-23473 UI option to stop HDFS service doesnt work - JS Error
42ceadd is described below

commit 42ceadd4cb947672c5d46b0f899aa8c4af2e29c3
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Thu Apr 5 16:06:10 2018 +0300

    AMBARI-23473 UI option to stop HDFS service doesnt work - JS Error
---
 ambari-web/app/controllers/main/service/item.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/main/service/item.js b/ambari-web/app/controllers/main/service/item.js
index 5e1211b..1802152 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/ambari-web/app/controllers/main/service/item.js
@@ -311,7 +311,7 @@ App.MainServiceItemController = Em.Controller.extend(App.SupportClientConfigsDow
 
     // check HDFS NameNode checkpoint before stop service
     if (serviceHealth === 'INSTALLED' && this.hasStartedNameNode()) {
-      this.checkNnLastCheckpointTime(function () {
+      this.checkNnLastCheckpointTime(() => {
         return App.showConfirmationFeedBackPopup((query, runMmOperation) => {
           this.set('isPending', true);
           this.startStopWithMmode(serviceHealth, query, runMmOperation);

-- 
To stop receiving notification emails like this one, please contact
atkach@apache.org.