Skip to content

Conversation

@vanzin
Copy link
Contributor

@vanzin vanzin commented Oct 9, 2015

The issue is that local paths on Windows, when provided with drive
letters or backslashes, are not valid URIs.

Instead of trying to figure out whether paths are URIs or not, use
Utils.resolveURI() which does that for us.

The issue is that local paths on Windows, when provided with drive
letters or backslashes, are not valid URIs.

Instead of trying to figure out whether paths are URIs or not, use
Utils.resolveURI() which does that for us.
@SparkQA
Copy link

SparkQA commented Oct 9, 2015

Test build #43489 has finished for PR 9049 at commit 77021f2.

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

@jerryshao
Copy link
Contributor

LGTM.

@JoshRosen
Copy link
Contributor

This seems reasonable to me.

@vanzin
Copy link
Contributor Author

vanzin commented Oct 12, 2015

Merging to master, will post pr for 1.5.2 since this will conflict.

@vanzin
Copy link
Contributor Author

vanzin commented Oct 12, 2015

Turns out there was no conflict, so merged to branch-1.5 also.

asfgit pushed a commit that referenced this pull request Oct 12, 2015
The issue is that local paths on Windows, when provided with drive
letters or backslashes, are not valid URIs.

Instead of trying to figure out whether paths are URIs or not, use
Utils.resolveURI() which does that for us.

Author: Marcelo Vanzin <[email protected]>

Closes #9049 from vanzin/SPARK-11023 and squashes the following commits:

77021f2 [Marcelo Vanzin] [SPARK-11023] [yarn] Avoid creating URIs from local paths directly.

(cherry picked from commit 149472a)
@asfgit asfgit closed this in 149472a Oct 12, 2015
@vanzin vanzin deleted the SPARK-11023 branch October 12, 2015 22:39
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.

4 participants