hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r581047 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt src/java/org/apache/hadoop/hbase/HServerAddress.java
Date Mon, 01 Oct 2007 19:45:03 GMT
Author: jimk
Date: Mon Oct  1 12:45:02 2007
New Revision: 581047

URL: http://svn.apache.org/viewvc?rev=581047&view=rev
Log:
HADOOP-1975 HBase tests failing with java.lang.NumberFormatException

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HServerAddress.java

Modified: lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt?rev=581047&r1=581046&r2=581047&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Mon Oct  1 12:45:02 2007
@@ -63,6 +63,7 @@
     HADOOP-1929 Add hbase-default.xml to hbase jar
     HADOOP-1941 StopRowFilter throws NPE when passed null row
     HADOOP-1966 Make HBase unit tests more reliable in the Hudson environment.
+    HADOOP-1975 HBase tests failing with java.lang.NumberFormatException
 
   IMPROVEMENTS
     HADOOP-1737 Make HColumnDescriptor data publically members settable

Modified: lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HServerAddress.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HServerAddress.java?rev=581047&r1=581046&r2=581047&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HServerAddress.java
(original)
+++ lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/HServerAddress.java
Mon Oct  1 12:45:02 2007
@@ -54,7 +54,7 @@
    * @param hostAndPort format 'hostname:port'
    */
   public HServerAddress(String hostAndPort) {
-    int colonIndex = hostAndPort.indexOf(':');
+    int colonIndex = hostAndPort.lastIndexOf(':');
     if(colonIndex < 0) {
       throw new IllegalArgumentException("Not a host:port pair: " + hostAndPort);
     }



Mime
View raw message