unical1988 created YARN-10988:
---------------------------------

             Summary: Spark application stuck at ACCEPTED state at spark-submit
                 Key: YARN-10988
                 URL: https://issues.apache.org/jira/browse/YARN-10988
             Project: Hadoop YARN
          Issue Type: Bug
          Components: applications
    Affects Versions: 3.2.1
            Reporter: unical1988


Hello,

 

I have configured & set Hadoop Cluster over 2 nodes and launch it along with 
Yarn like so : 

 

*_On the master node :_* 
 * hdfs namenode -regular
 * yarn resourcemanager

 

*_On the slave node :_* 
 * hdfs datanode -regular
 * yarn nodemanager

And it shows through UI that there has been a connection established between 
the two machines that form the cluster.

To note that *_start-dfs_* on the master node started both namenode and 
datanode even after setting *_slaves_* and *_hosts_* files.

Now i submit an application (simple _hello world_) to _Yarn_ : through this 
command :

*Spark-submit --class "main" --master yarn pathToJar*

 

But i get the error 

15/08/29 12:07:58 INFO Client: ApplicationManager is waiting for the 
ResourceManager 

client token: N/A diagnostics: N/A

ApplicationMaster host: N/A

ApplicationMaster RPC port: -1

queue: root.hdfs

start time: 1440864477580

final status: UNDEFINED tracking URL: 
http://chd2.moneyball.guru:8088/proxy/application_1440861466017_0007/ user: 
hdfs 15/08/29 12:07:59 INFO Client: Application report for 
application_1440861466017_0007 (state: ACCEPTED) 15/08/29 12:08:00 INFO Client: 
Application report for application_1440861466017_0007 (state: ACCEPTED) 
15/08/29 12:08:01 INFO Client: Application report for 
application_1440861466017_0007 (state: ACCEPTED)...

 

What am i missing in my configuration ?

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to