[ 
https://issues.apache.org/jira/browse/SPARK-20079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944629#comment-15944629
 ] 

Saisai Shao commented on SPARK-20079:
-------------------------------------

What is the specific symptom you met? I believe there's bunch of corner cases 
regarding RPC back and forth in yarn-client + AM reattempt scenario, and 
sometimes these scenarios are quite hard to fix, so usually I would suggest to 
set max attempt to 1 in yarn client mode.

> Re registration of AM hangs spark cluster in yarn-client mode
> -------------------------------------------------------------
>
>                 Key: SPARK-20079
>                 URL: https://issues.apache.org/jira/browse/SPARK-20079
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 2.1.0
>            Reporter: Guoqiang Li
>
> 1. Start cluster
> echo -e "sc.parallelize(1 to 2000).foreach(_ => Thread.sleep(1000))" | 
> ./bin/spark-shell  --master yarn-client --executor-cores 1 --conf 
> spark.shuffle.service.enabled=true --conf 
> spark.dynamicAllocation.enabled=true --conf 
> spark.dynamicAllocation.maxExecutors=2 
> 2.  Kill the AM process when a stage is scheduled. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to