incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgog...@apache.org
Subject svn commit: r1221439 - in /incubator/ambari/trunk: CHANGES.txt controller/src/main/java/org/apache/ambari/controller/Clusters.java
Date Tue, 20 Dec 2011 19:04:44 GMT
Author: vgogate
Date: Tue Dec 20 19:04:44 2011
New Revision: 1221439

URL: http://svn.apache.org/viewvc?rev=1221439&view=rev
Log:
AMBARI-168. trim the white spaces from host names returned through getHostnamesFromRageExpressions

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Clusters.java

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1221439&r1=1221438&r2=1221439&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Dec 20 19:04:44 2011
@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.1.0 - unreleased
 
+  AMBARI-168. trim the white spaces from host names returned through getHostnamesFromRageExpressions
(vgogate)
+
   AMBARI-163. Addresses failure handling in FSM. ((thejas via ddas)
 
   AMBARI-165. Fix the component definition for HDFS. (omalley)

Modified: incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Clusters.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Clusters.java?rev=1221439&r1=1221438&r2=1221439&view=diff
==============================================================================
--- incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Clusters.java
(original)
+++ incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Clusters.java
Tue Dec 20 19:04:44 2011
@@ -833,7 +833,7 @@ public class Clusters {
       List<String> list = new ArrayList<String>();
       StringTokenizer st = new StringTokenizer(nodeRangeExpression, ",");
       while (st.hasMoreTokens()) {
-        list.add(st.nextToken());
+        list.add(st.nextToken().trim());
       }
       return list;
   }



Mime
View raw message