ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-8766. Hive Metastore HA: remove it during install and add service wiz in UI (alexantonenko)
Date Wed, 17 Dec 2014 20:17:47 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6355c79a4 -> 0dcbcc1ba


AMBARI-8766. Hive Metastore HA: remove it during install and add service wiz in UI (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 0dcbcc1ba1140bba71cc95dcd93305c125aa4085
Parents: 6355c79
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Wed Dec 17 20:11:13 2014 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Wed Dec 17 22:17:19 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/models/stack_service_component.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0dcbcc1b/ambari-web/app/models/stack_service_component.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service_component.js b/ambari-web/app/models/stack_service_component.js
index 967b544..24017eb 100644
--- a/ambari-web/app/models/stack_service_component.js
+++ b/ambari-web/app/models/stack_service_component.js
@@ -144,7 +144,8 @@ App.StackServiceComponent = DS.Model.extend({
    * @property {Boolean} isMasterAddableInstallerWizard
    **/
   isMasterAddableInstallerWizard: function() {
-    return this.get('isMaster') && this.get('isMultipleAllowed') && this.get('maxToInstall')
> 2;
+    var ignored = ['HIVE_METASTORE'];
+    return this.get('isMaster') && this.get('isMultipleAllowed') && this.get('maxToInstall')
> 2 && !ignored.contains(this.get('componentName'));
   }.property('componentName'),
 
   /** @property {Boolean} isHAComponentOnly - Components that can be installed only if HA
enabled **/


Mime
View raw message