You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/07 04:23:04 UTC

svn commit: r1347311 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/js/selectComponents.js

Author: vikram
Date: Thu Jun  7 02:23:04 2012
New Revision: 1347311

URL: http://svn.apache.org/viewvc?rev=1347311&view=rev
Log:
AMBARI-486. Add Node installs MySQL Server for Hive (Contributed by Yusaku)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/js/selectComponents.js

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347311&r1=1347310&r2=1347311&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 02:23:04 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-486. Add Node installs MySQL Server for Hive (Yusaku via Vikram)
+
   AMBARI-485. Make Firebug debugger work again with fileCombinator.php (Yusaku via Vikram)
 
   AMBARI-484. Reconfigure option for Nagios service does not work (Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/js/selectComponents.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/js/selectComponents.js?rev=1347311&r1=1347310&r2=1347311&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/js/selectComponents.js (original)
+++ incubator/ambari/branches/ambari-186/hmc/js/selectComponents.js Thu Jun  7 02:23:04 2012
@@ -39,18 +39,19 @@ function getServiceComponentListAndRende
     for (serviceName in data['services'])  {
       if (data['services'][serviceName]['isEnabled'] != "0" && data['services'][serviceName]['attributes']['noDisplay'] == false) {
         component = data['services'][serviceName]['components'];
-        for (componentName in component) {
-          if (component[componentName]['isMaster'] == null && 
-              (component[componentName]['isClient'] == null)) {
+        for (componentIndex in component) {
+          if (component[componentIndex]['isMaster'] == null && 
+              (component[componentIndex]['isClient'] == null)) {
             continue;
           }
-          if (!component[componentName]['isMaster'] && 
-                !component[componentName]['isClient']) {
+          if (!component[componentIndex]['isMaster'] && 
+              !component[componentIndex]['isClient'] &&
+              component[componentIndex].componentName != 'HIVE_MYSQL') {
             divContent += '<li class="selectServicesEntry" name=try>';
             divContent +=   '<label class="checkbox" for="install' + serviceName + 'Id">' 
-                        +   '<input type="checkbox" disabled="disabled" checked="yes" name="' + serviceName + '" id="install' + serviceName + 'Id" value="' + component[componentName]["componentName"] + '"/>'
-                        + component[componentName]['displayName'] + '</label>'
-                        +   '<div class="contextualhelp">' + component[componentName]['description'] + '</div>'
+                        +   '<input type="checkbox" disabled="disabled" checked="yes" name="' + serviceName + '" id="install' + serviceName + 'Id" value="' + component[componentIndex].componentName + '"/>'
+                        + component[componentIndex].displayName + '</label>'
+                        +   '<div class="contextualhelp">' + component[componentIndex].description + '</div>'
                         + '</li>';
           } else {
             continue;