GitHub user squito opened a pull request:

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

    [SPARK-26094][CORE][STREAMING] createNonEcFile creates parent dirs.

    ## What changes were proposed in this pull request?
    
    We explicitly avoid files with hdfs erasure coding for the streaming WAL
    and for event logs, as hdfs EC does not support all relevant apis.
    However, the new builder api used has different semantics -- it does not
    create parent dirs, and it does not resolve relative paths.  This
    updates createNonEcFile to have similar semantics to the old api.
    
    ## How was this patch tested?
    
    Ran tests with the WAL pointed at a non-existent dir, which failed before 
this change.  Manually tested the new function with a relative path as well.
    Unit tests via jenkins.

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

    $ git pull https://github.com/squito/spark SPARK-26094

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

    https://github.com/apache/spark/pull/23092.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 #23092
    
----
commit c52010a3fa291e85f75f862d2d75363e8505fcc7
Author: Imran Rashid <irashid@...>
Date:   2018-11-16T22:45:13Z

    [SPARK-26094][CORE][STREAMING] createNonEcFile creates parent dirs.
    
    We explicitly avoid files with hdfs erasure coding for the streaming WAL
    and for event logs, as hdfs EC does not support all relevant apis.
    However, the new builder api used has different semantics -- it does not
    create parent dirs, and it does not resolve relative paths.  This
    updates createNonEcFile to have similar semantics to the old api.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to