GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/9412
[SPARK-11457][Streaming][YARN] Fix incorrect AM proxy filter conf recovery
from checkpoint
Currently Yarn AM proxy filter configuration is recovered from checkpoint
file when Spark Streaming application is restarted, which will lead to some
unwanted behaviors:
1. Wrong RM address if RM is redeployed from failure.
2. Wrong proxyBase, since app id is updated, old app id for proxyBase is
wrong.
So instead of recovering from checkpoint file, these configurations should
be reloaded each time when app started.
This problem only exists in Yarn cluster mode, for Yarn client mode, these
configurations will be updated with RPC message `AddWebUIFilter`.
Please help to review @tdas @harishreedharan @vanzin , thanks a lot.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-11457
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9412.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 #9412
----
commit 7e07efe701cf9dffaaf8411b108bdd2b3ca99f91
Author: jerryshao <[email protected]>
Date: 2015-11-02T12:30:35Z
Fix Spark Streaming checkpoint with Yarn-cluster configuration recovery
issue
----
---
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]