hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1449500 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Date Sun, 24 Feb 2013 16:02:17 GMT
Author: tedyu
Date: Sun Feb 24 16:02:17 2013
New Revision: 1449500

URL: http://svn.apache.org/r1449500
Log:
HBASE-7916 HMaster uses wrong InetSocketAddress parameter to throw exception (Jean-Marc)


Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java?rev=1449500&r1=1449499&r2=1449500&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java Sun Feb
24 16:02:17 2013
@@ -266,7 +266,7 @@ Server {
     // Creation of a HSA will force a resolve.
     InetSocketAddress initialIsa = new InetSocketAddress(hostname, port);
     if (initialIsa.getAddress() == null) {
-      throw new IllegalArgumentException("Failed resolve of " + this.isa);
+      throw new IllegalArgumentException("Failed resolve of " + initialIsa);
     }
     int numHandlers = conf.getInt("hbase.master.handler.count",
       conf.getInt("hbase.regionserver.handler.count", 25));



Mime
View raw message