GitHub user SaintBacchus reopened a pull request:
https://github.com/apache/spark/pull/7158
[SPARK-8755][Streaming]Login user before reading the checkpoint file in
hdfs.
If the user set `spark.yarn.principal` and `spark.yarn.keytab` , he does
not need `kinit` in the client machine.
But when the application was recorved from checkpoint file, it had to
`kinit`, because:
The checkpoint did not use this configurations before it use a DFSClient to
fetch the ckeckpoint file.
But there is a small problem, the
`UserGroupInformation.loginUserFromKeytab` will be called twice in checkpoint
application. Ignored it in this PR.
[Jira Address](https://issues.apache.org/jira/browse/SPARK-8755)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaintBacchus/spark SPARK-8755
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7158.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 #7158
----
commit 9ddd5b4bf5ca8c0759d411ac44e3ea02a578d1ba
Author: huangzhaowei <[email protected]>
Date: 2015-07-01T12:18:50Z
[SPARK-8755][Streaming]Login user before reading hdfs file.
commit be0df01ef86af835a64f4c69af4a5607c3c6f5a9
Author: huangzhaowei <[email protected]>
Date: 2015-07-01T14:15:55Z
Modify some code style.
----
---
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]