title: Flink JobGraph Submission
body: <p>I am trying to compile the given SQL into Flink's Job Graph and want to submit to YARN.</p>
  <pre><code>JobGraph jobGraph = streamExecutionEnv.getStreamGraph().getJobGraph();
  
  YarnDeployer().deployJob(jobGraph);
  </code></pre>
  <p><code>YarnDeployer</code> is custom class which uses <code>YarnClusterDescriptor</code> and <code>ClusterSpecification</code> API of Flink to submit the job.</p>
  <p>In EMR, I started Flink YARN session and submitted job using flink run.</p>
  <p>I am getting below error :
  The program didn't contain a Flink job. Perhaps you forgot to call <code>execute()</code> on the execution environment.</p>
  <p>is it possible to run the JobGraph with out execute? I don't want to run continuous jobs.</p>