Skip to content

Conversation

@vanzin
Copy link
Contributor

@vanzin vanzin commented Oct 16, 2014

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.

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.
@vanzin
Copy link
Contributor Author

vanzin commented Oct 16, 2014

Tested with dfs.replication / dfs.replication.max set to 1, jobs work fine.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have started for PR 2831 at commit b0e3a97.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have finished for PR 2831 at commit b0e3a97.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/21820/
Test PASSed.

@andrewor14
Copy link
Contributor

This is another reason why we should deprecate alpha. LGTM conceptually.

@andrewor14
Copy link
Contributor

@tgravescs

@tgravescs
Copy link
Contributor

Changes look good. +1

@asfgit asfgit closed this in 803e7f0 Oct 17, 2014
@vanzin vanzin deleted the SPARK-3979 branch November 4, 2014 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants