GitHub user liancheng opened a pull request: https://github.com/apache/spark/pull/12177
[SPARK-14404][SQL][TESTS] HDFSMetadataLogSuite should recover the original FileSystem implementation after overriding it ## What changes were proposed in this pull request? Test case `HDFSMetadataLog: fallback from FileContext to FileSystem` doesn't recover the original `FileSystem` implementation after overriding it with `FakeFileSystem`. This PR fixes this issue by adding `withHadoopConf` in `SQLTestUtils` and apply it to the aforementioned test case. ## How was this patch tested? Using existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liancheng/spark spark-14404-fs-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12177.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 #12177 ---- commit 2b08a94b88c09a1519761277fbd9792e3c8a2e8a Author: Cheng Lian <l...@databricks.com> Date: 2016-04-05T13:06:44Z Recovers FS implementation ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org