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

wuzhiguo 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 60834d5e35 AMBARI-25740: Fails to enable NameNode HA in BIGTOP 3.2.0 
cluster (#3373)
60834d5e35 is described below

commit 60834d5e35d27fd782c95a1d95266be73e99252d
Author: yaolei <[email protected]>
AuthorDate: Wed Sep 28 16:31:12 2022 +0800

    AMBARI-25740: Fails to enable NameNode HA in BIGTOP 3.2.0 cluster (#3373)
---
 .../main/admin/highAvailability/nameNode/step7_controller.js          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step7_controller.js
 
b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step7_controller.js
index 722668cf05..27ea705e48 100644
--- 
a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step7_controller.js
+++ 
b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step7_controller.js
@@ -32,11 +32,11 @@ App.HighAvailabilityWizardStep7Controller = 
App.HighAvailabilityProgressPageCont
       tasksToRemove.push('startAmbariInfra');
     }
 
-    if 
(App.ClientComponent.getModelByComponentName('RANGER_ADMIN').get('installedCount')
 === 0) {
+    if (App.ClientComponent.getModelByComponentName('RANGER_ADMIN') == null || 
App.ClientComponent.getModelByComponentName('RANGER_ADMIN').get('installedCount')
 === 0) {
       tasksToRemove.push('startRanger');
     }
 
-    if 
(App.ClientComponent.getModelByComponentName('MYSQL_SERVER').get('installedCount')
 === 0) {
+    if (App.ClientComponent.getModelByComponentName('MYSQL_SERVER') == null || 
App.ClientComponent.getModelByComponentName('MYSQL_SERVER').get('installedCount')
 === 0) {
       tasksToRemove.push('startMysqlServer');
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to