HADOOP-1975 HBase tests failing with java.lang.NumberFormatException
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@581047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
188f9e6f23
commit
2f9acbbd45
|
@ -63,6 +63,7 @@ Trunk (unreleased changes)
|
|||
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
|
||||
|
|
|
@ -54,7 +54,7 @@ public class HServerAddress implements WritableComparable {
|
|||
* @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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue