title: Spark YARN client job from host with hostname unknown to cluster?
body: <p>I have number of private hosts visible from YARN cluster by IP but not by host name. When they try to submit any Spark job in YARN client mode, there is try to connect driver host from cluster. As by defeult <code>spark.driver.host</code> is configured to local hostname, this fails.</p>
  
  <p>So is there any nice option to handle this? Something like automatically set ``spark.driver.host` to client IP interface address which is used for connection to cluster?</p>
  
  <ul>
  <li>Correct DNS resolution is not option. Not possible.</li>
  </ul>