You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/08/18 17:48:18 UTC

[jira] [Commented] (SPARK-3101) Flag variable in ApplicationMaster should be declared as volatile

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

Apache Spark commented on SPARK-3101:
-------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2016

> Flag variable in ApplicationMaster should be declared as volatile
> -----------------------------------------------------------------
>
>                 Key: SPARK-3101
>                 URL: https://issues.apache.org/jira/browse/SPARK-3101
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.1.0
>            Reporter: Kousuke Saruta
>
> In ApplicationMaster, a field variable 'isLastAMRetry' is used as a flag but it's not declared as volatile though it's used from multiple threads.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org