Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B347D11615 for ; Wed, 30 Jul 2014 00:24:40 +0000 (UTC) Received: (qmail 75752 invoked by uid 500); 30 Jul 2014 00:24:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 75718 invoked by uid 500); 30 Jul 2014 00:24:40 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 75697 invoked by uid 99); 30 Jul 2014 00:24:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 00:24:40 +0000 Date: Wed, 30 Jul 2014 00:24:40 +0000 (UTC) From: "Craig Welch (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1994) Expose YARN/MR endpoints on multiple interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-1994?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14078= 685#comment-14078685 ]=20 Craig Welch commented on YARN-1994: ----------------------------------- Hmm, I think I understand the scenario. As I understand it, this will only= be a problem if you want to refer to the host by a value other than the "m= ain" hostname, e.g. something other than what would be returned from InetAd= dress.getLocalHost().getHostName() - as that is what it will come back with= in the bind-host 0.0.0.0 case. (It's not that the results are indetermina= te - it returns the "primary" host name, it's that you want to use somethin= g other than the primary host name). There are many places in the code whe= re this convention is used to determine the name of the host - it's an impl= icit convention at least, and I'm concerned that there will be cases where = this mismatch causes issues, as evidenced by all of the various things whic= h needed to be tracked down/etc. Also, this is only realistic for single a= ddress services (or rather for cases where addresses are enumerated, includ= ing single addresses or ha resource manager, etc), others will not have an = address in a centralized configuration to "override" them. Instead of this, could you use the primary hostname and control what addres= s it uses through name resolution? Inside the cluster the hostname should = resolve to only the infiniband addresses, that way only those will be used = (the two ib addresses). From external networks you can set the resolution = to the ethernet address as you mentioned above. This way, the host is alwa= ys referred to by the same name, clients are always able to get to it over = the desired interface, and no changes to the connect address logic are requ= ired. > Expose YARN/MR endpoints on multiple interfaces > ----------------------------------------------- > > Key: YARN-1994 > URL: https://issues.apache.org/jira/browse/YARN-1994 > Project: Hadoop YARN > Issue Type: Improvement > Components: nodemanager, resourcemanager, webapp > Affects Versions: 2.4.0 > Reporter: Arpit Agarwal > Assignee: Craig Welch > Attachments: YARN-1994.0.patch, YARN-1994.1.patch, YARN-1994.11.p= atch, YARN-1994.11.patch, YARN-1994.12.patch, YARN-1994.2.patch, YARN-1994.= 3.patch, YARN-1994.4.patch, YARN-1994.5.patch, YARN-1994.6.patch, YARN-1994= .7.patch > > > YARN and MapReduce daemons currently do not support specifying a wildcard= address for the server endpoints. This prevents the endpoints from being a= ccessible from all interfaces on a multihomed machine. > Note that if we do specify INADDR_ANY for any of the options, it will bre= ak clients as they will attempt to connect to 0.0.0.0. We need a solution t= hat allows specifying a hostname or IP-address for clients while requesting= wildcard bind for the servers. > (List of endpoints is in a comment below) -- This message was sent by Atlassian JIRA (v6.2#6252)