Repository: ambari
Updated Branches:
  refs/heads/trunk 0dbcee264 -> 5f4adaa6c


AMBARI-9256 Host versions page is not updated. (ababiichuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/752a52b2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/752a52b2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/752a52b2

Branch: refs/heads/trunk
Commit: 752a52b2d5d3240128d42748bc543570d258d214
Parents: 0dbcee2
Author: aBabiichuk <ababiic...@cybervisiontech.com>
Authored: Thu Jan 22 12:28:18 2015 +0200
Committer: aBabiichuk <ababiic...@cybervisiontech.com>
Committed: Thu Jan 22 15:59:54 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/config.js                               | 2 +-
 ambari-web/app/controllers/global/update_controller.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/752a52b2/ambari-web/app/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/config.js b/ambari-web/app/config.js
index f05adc7..606920b 100644
--- a/ambari-web/app/config.js
+++ b/ambari-web/app/config.js
@@ -61,7 +61,7 @@ App.supports = {
   preUpgradeCheck: true,
   stackUpgrade: true,
   autoRollbackHA: false,
-  alwaysEnableManagedMySQLForHive: true,
+  alwaysEnableManagedMySQLForHive: false,
   preKerberizeCheck: false,
   automatedKerberos: true,
   ranger: false,

http://git-wip-us.apache.org/repos/asf/ambari/blob/752a52b2/ambari-web/app/controllers/global/update_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/update_controller.js 
b/ambari-web/app/controllers/global/update_controller.js
index b8db91e..8b7f896 100644
--- a/ambari-web/app/controllers/global/update_controller.js
+++ b/ambari-web/app/controllers/global/update_controller.js
@@ -167,8 +167,8 @@ App.UpdateController = Em.Controller.extend({
     }
     else {
       if (App.router.get('currentState.parentState.name') == 'hostDetails' &&
-          (App.router.get('currentState.name') == 'summary' || 
App.router.get('currentState.name') == 'alerts' )) {
-        hostDetailsFilter = 
App.router.get('location.lastSetURL').match(/\/hosts\/(.*)\/(summary|alerts)/)[1];
+          ['summary', 'alerts', 
'stackVersions'].contains(App.router.get('currentState.name'))) {
+        hostDetailsFilter = 
App.router.get('location.lastSetURL').match(/\/hosts\/(.*)\/(summary|alerts|stackVersions)/)[1];
         App.updater.updateInterval('updateHost', 
App.get('componentsUpdateInterval'));
       }
       else {

Reply via email to