GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/3755
[SPARK-4913] Fix incorrect event log path
SPARK-2261 uses a single file to log events for an app. `eventLogDir` in
`ApplicationDescription` is replaced with `eventLogFile`. However,
`ApplicationDescription` in `SparkDeploySchedulerBackend` is initialized with
`SparkContext`'s `eventLogDir`. It is just the log directory, not the actual
log file path. `Master.rebuildSparkUI` can not correctly rebuild a new SparkUI
for the app.
Because the `ApplicationDescription` is remotely registered with `Master`
and the app's id is then generated in `Master`, we can not get the app id in
advance before registration. So the received description needs to be modified
with correct `eventLogFile` value.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 fix_app_logdir
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3755.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 #3755
----
commit b5730a1ed154893b926ff9656a287fb847d3a407
Author: Liang-Chi Hsieh <[email protected]>
Date: 2014-12-21T15:55:38Z
Fix incorrect event log path.
----
---
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]