spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saisai Shao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20079) Re registration of AM hangs spark cluster in yarn-client mode
Date Tue, 28 Mar 2017 06:35:41 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message