GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/15866

    [SPARK-18422][CORE] Fix wholeTextFiles test to pass on Windows in 
JavaAPISuite

    ## What changes were proposed in this pull request?
    
    This PR fixes the test `wholeTextFiles` in `JavaAPISuite.java`. This is 
failed due to the different path format on Windows.
    
    For example, the path in `container` was
    
    ```
    C:\projects\spark\target\tmp\1478967560189-0/part-00000
    ```
    
    whereas `new URI(res._1()).getPath()` was as below:
    
    /C:/projects/spark/target/tmp/1478967560189-0/part-00000
    
    
    
    ## How was this patch tested?
    
    Tests in `JavaAPISuite.java`.
    
    Tested via AppVeyor https://ci.appveyor.com/project/spark-test/spark
    Diff : 
https://github.com/apache/spark/compare/master...spark-test:JavaAPISuite

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark SPARK-18422

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15866.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 #15866
    
----
commit 9c258a5bbe19f1ea84aa6b9bab53f02093449a38
Author: hyukjinkwon <[email protected]>
Date:   2016-11-12T19:40:13Z

    Fix wholeTextFile tests in JavaAPISuite

----


---
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]

Reply via email to