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)

Reply via email to