Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 915F110CAB for ; Tue, 19 May 2015 19:40:10 +0000 (UTC) Received: (qmail 9315 invoked by uid 500); 19 May 2015 19:40:10 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 9286 invoked by uid 500); 19 May 2015 19:40:10 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 9277 invoked by uid 99); 19 May 2015 19:40:10 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 19:40:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 19B0BC11BA for ; Tue, 19 May 2015 19:40:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.79 X-Spam-Level: X-Spam-Status: No, score=0.79 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4dmA0d8wpFr3 for ; Tue, 19 May 2015 19:39:54 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 6817823151 for ; Tue, 19 May 2015 19:39:54 +0000 (UTC) Received: (qmail 7195 invoked by uid 99); 19 May 2015 19:39:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 19:39:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 81419E35B7; Tue, 19 May 2015 19:39:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 19 May 2015 19:39:55 -0000 Message-Id: In-Reply-To: <335a0c38e0c24299b23f31e813c0b631@git.apache.org> References: <335a0c38e0c24299b23f31e813c0b631@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [03/11] incubator-ignite git commit: # IGNITE-709 Remove duplicated address resolving. # 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 Authored: Mon May 18 17:40:30 2015 +0300 Committer: sevdokimov 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));