GitHub user lianhuiwang opened a pull request:
https://github.com/apache/spark/pull/13408
[SPARK-15664] [MLlib] Replace FileSystem.get(conf) with
path.getFileSystem(conf) when removing CheckpointFile in MLlib
## What changes were proposed in this pull request?
if sparkContext.set CheckpointDir to another Dir that is not default
FileSystem, it will throw exception when removing CheckpointFile in MLlib.
So we should always get the FileSystem from Path to avoid wrong FS problem.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lianhuiwang/spark SPARK-15664
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13408.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 #13408
----
commit a403c1546bbad0037f52f41f8cc7e4a51dd6c96b
Author: Lianhui Wang <[email protected]>
Date: 2016-05-31T09:58:27Z
init commit
----
---
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]