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

Apache Spark commented on SPARK-5771:
-------------------------------------

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

> Number of Cores in Completed Applications of Standalone Master Web Page 
> always be 0 if sc.stop() is called
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-5771
>                 URL: https://issues.apache.org/jira/browse/SPARK-5771
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.2.1
>            Reporter: Liangliang Gu
>            Assignee: Liangliang Gu
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> In Standalone mode, the number of cores in Completed Applications of the 
> Master Web Page will always be zero, if sc.stop() is called.
> But the number will always be right, if sc.stop() is not called.
> The reason maybe: 
> after sc.stop() is called, the function removeExecutor of class 
> ApplicationInfo will be called, thus reduce the variable coresGranted to 
> zero.  The variable coresGranted is used to display the number of Cores on 
> the Web Page.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to