title: Endless INFO Client: Application report for application_xx (state: ACCEPTED) messages for Spark submit on Yarn
body: <p>When I submit Spark application using Hadoop with Yarn in cluster mode. 
  Yarn client State stucks in Accepted state and it never change to Running. I am Using Centos 7 Hadoop Cluster which has 1 Master 2 Slaves</p>
  
  <p>I login to openstack with floating IP(which we externally associate) This IP is different from IP address we get we do ifconfig in system. </p>
  
  <p>Below are the logs:</p>
  
  <pre><code>    18/01/21 16:34:19 INFO yarn.Client: Uploading resource file:/usr/local/spark/examples/jars/spark-examples_2.11-2.0.1.jar -&gt; hdfs://192.168.198.10:8020/user/cloud-user/.sparkStaging/application_1516548465362_0014/spark-examples_2.11-2.0.1.jar
      18/01/21 16:34:19 INFO yarn.Client: Uploading resource file:/tmp/spark-f37b5cec-a81f-46c3-9b5e-6ce7854c6dd4/__spark_conf__2008488553335511154.zip -&gt; hdfs://192.168.198.10:8020/user/cloud-user/.sparkStaging/application_1516548465362_0014/__spark_conf__.zip
      18/01/21 16:34:19 INFO spark.SecurityManager: Changing view acls to: cloud-user
      18/01/21 16:34:19 INFO spark.SecurityManager: Changing modify acls to: cloud-user
      18/01/21 16:34:19 INFO spark.SecurityManager: Changing view acls groups to: 
      18/01/21 16:34:19 INFO spark.SecurityManager: Changing modify acls groups to: 
      18/01/21 16:34:19 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(cloud-user); groups with view permissions: Set(); users  with modify permissions: Set(cloud-user); groups with modify permissions: Set()
      18/01/21 16:34:19 INFO yarn.Client: Submitting application application_1516548465362_0014 to ResourceManager
      18/01/21 16:34:19 INFO impl.YarnClientImpl: Submitted application application_1516548465362_0014
      18/01/21 16:34:20 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:20 INFO yarn.Client: 
                  client token: N/A
                  diagnostics: N/A
                  ApplicationMaster host: N/A
                  ApplicationMaster RPC port: -1
                  queue: default
                  start time: 1516552459599
                  tracking URL: http://master.abc.com:8088/proxy/application_1516548465362_0014/
                  user: cloud-user
  
      18/01/21 16:34:21 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:22 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:23 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:24 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:25 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:26 INFO yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
      18/01/21 16:34:27 yarn.Client: Application report for application_1516548465362_0014 (state: ACCEPTED)
  </code></pre>
  
  <p>Tried all options which people have suggested but nothing work.I see node has enough space but not sure why this is not working. Any help is appreciated. Thanks</p>