title: How to submit Flink job to a remote YARN cluster?
body: <p>I installed Apache Hadoop on 4 node by using Apache Ambari. And I wrote a simple job with Apache Flink. I want to submit this job to my YARN cluster. But Flink needs to YARN configuration files on local machine (core-site.xml, yarn-site.xml etc.). So if I don't misunterstand, there are two manuel way</p>
  
  <ol>
  <li>start flink job on ResourceManager node (to find config files) </li>
  <li>download config files from ResourceManager to local. </li>
  </ol>
  
  <p>I think, these two ways are not very well. How can I submit my job to remote YARN cluster. is there a suitable way?</p>