GitHub user vanzin opened a pull request:

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

    [SPARK-3979] [yarn] Use fs's default replication.

    This avoids issues when HDFS is configured in a way that would not
    allow the hardcoded default replication of "3".
    
    Note: getDefaultReplication(Path) was added in 0.23.3, and the oldest
    one available on Maven Central is 0.23.7, so I chose to not add code
    to access that method via reflection.

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

    $ git pull https://github.com/vanzin/spark SPARK-3979

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

    https://github.com/apache/spark/pull/2831.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 #2831
    
----
commit b0e3a9759fc6135e2f4f0789cdd7244662710895
Author: Marcelo Vanzin <[email protected]>
Date:   2014-10-16T20:47:30Z

    [SPARK-3979] [yarn] Use fs's default replication.
    
    This avoids issues when HDFS is configured in a way that would not
    allow the hardcoded default replication of "3".
    
    Note: getDefaultReplication(Path) was added in 0.23.3, and the oldest
    one available on Maven Central is 0.23.7, so I chose to not add code
    to access that method via reflection.

----


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