You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vg...@apache.org on 2012/05/09 02:17:28 UTC

svn commit: r1335850 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/frontend/configUtils.php

Author: vgogate
Date: Wed May  9 00:17:28 2012
New Revision: 1335850

URL: http://svn.apache.org/viewvc?rev=1335850&view=rev
Log:
AMBARI-188. Disable jdk location validation as filter apis not supported in PHP 5.1. Contributed by Hitesh Shah.

Added:
    incubator/ambari/branches/ambari-186/CHANGES.txt
Modified:
    incubator/ambari/branches/ambari-186/hmc/php/frontend/configUtils.php

Added: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1335850&view=auto
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (added)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed May  9 00:17:28 2012
@@ -0,0 +1,7 @@
+Ambari Change log
+
+Release 0.x.x - unreleased
+
+  AMBARI-188. Disable jdk location validation as filter apis not supported in 
+  PHP 5.1. (Hitesh Shah via vgogate)
+  

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/configUtils.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/configUtils.php?rev=1335850&r1=1335849&r2=1335850&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/configUtils.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/configUtils.php Wed May  9 00:17:28 2012
@@ -114,9 +114,9 @@ function validateConfigs($svcConfigs) {
         }
       } else if ($key == "jdk_location") {
         if ($val != "") {
-          if (filter_var($val, FILTER_VALIDATE_URL) === FALSE) {
-            $errors[$key] = array ( "error" => "Invalid url specified");
-          }
+          //if (filter_var($val, FILTER_VALIDATE_URL) === FALSE) {
+          //  $errors[$key] = array ( "error" => "Invalid url specified");
+          //}
         }
       } else if ($key == "hdfs_user") {
         if ($val == "") {