ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [03/11] incubator-ignite git commit: # IGNITE-709 Remove duplicated address resolving.
Date Tue, 19 May 2015 19:39:55 GMT
# IGNITE-709 Remove duplicated address resolving.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0d8f73e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0d8f73e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0d8f73e5

Branch: refs/heads/ignite-23
Commit: 0d8f73e52c87adf8e696926ce9015ff7bec498c2
Parents: f265cb6
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Mon May 18 17:40:30 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Mon May 18 17:40:30 2015 +0300

----------------------------------------------------------------------
 .../ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java       | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d8f73e5/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java
index 5573f51..9a0a460 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.java
@@ -229,13 +229,6 @@ public class TcpClientDiscoverySpi extends TcpDiscoverySpiAdapter implements
Tcp
 
         assertParameter(threadPri > 0, "threadPri > 0");
 
-        try {
-            locHost = U.resolveLocalHost(locAddr);
-        }
-        catch (IOException e) {
-            throw new IgniteSpiException("Unknown local address: " + locAddr, e);
-        }
-
         if (log.isDebugEnabled()) {
             log.debug(configInfo("localHost", locHost.getHostAddress()));
             log.debug(configInfo("threadPri", threadPri));


Mime
View raw message