GitHub user marsishandsome opened a pull request:
https://github.com/apache/spark/pull/4567
[SPARK-5771] Number of Cores in Completed Applications of Standalone Master
Web Page always be 0 if sc.stop() is called
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marsishandsome/spark Spark5771
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4567
----
commit cfbd97d68e322ce25882a9aa08ae665c6ba24ad0
Author: guliangliang <[email protected]>
Date: 2015-02-12T13:21:38Z
[SPARK-5771] Number of Cores in Completed Applications of Standalone Master
Web Page always be 0 if sc.stop() is called
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]