You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Johannes Zillmann (JIRA)" <ji...@apache.org> on 2014/08/14 12:04:11 UTC

[jira] [Created] (TEZ-1422) Provide a way to hook in static address resolution when talking to AM from client

Johannes Zillmann created TEZ-1422:
--------------------------------------

             Summary: Provide a way to hook in static address resolution when talking to AM from client
                 Key: TEZ-1422
                 URL: https://issues.apache.org/jira/browse/TEZ-1422
             Project: Apache Tez
          Issue Type: Improvement
            Reporter: Johannes Zillmann


h6. Usecase
Client sits outside of the YARN subnet. YARN/TEZ passes out internal host addresses which are not resolvable by the client. Example: test-environment where YARN sits in ec2 and the test/client sits outside.

h6. Solution
Use NetUtils.createSocketAddrForHost() instead of new InetSocketAddress() in TezClientUtils#getAMProxy().
This would allow to use NetUtils.addStaticResolution() which can be used to have a static private -> public mapping!



--
This message was sent by Atlassian JIRA
(v6.2#6252)