Browse Source

AMBARI-4244. NameNode start fails after moving it to another host. (yusaku)

Yusaku Sako 11 years ago
parent
commit
532d76d996

+ 1 - 1
ambari-web/app/controllers/main/service/reassign/step4_controller.js

@@ -235,7 +235,7 @@ App.ReassignMasterWizardStep4Controller = App.HighAvailabilityProgressPageContro
         }
         if (!App.get('isHaEnabled')) {
           if (App.Service.find().someProperty('serviceName', 'HBASE')) {
-            configs['hbase-site']['hbase.rootdir'] = configs['hbase-site']['hbase.rootdir'].replace(/\/\/[^\/]*/, '//' + targetHostName);
+            configs['hbase-site']['hbase.rootdir'] = configs['hbase-site']['hbase.rootdir'].replace(/\/\/[^\/]*/, '//' + targetHostName + ':8020');
           }
         }
         if (securityEnabled) {