[
https://issues.apache.org/jira/browse/SPARK-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandy Ryza updated SPARK-6300:
------------------------------
Priority: Critical (was: Minor)
Target Version/s: 1.3.1
> sc.addFile(path) does not support the relative path.
> ----------------------------------------------------
>
> Key: SPARK-6300
> URL: https://issues.apache.org/jira/browse/SPARK-6300
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.3.0, 1.2.1
> Reporter: DoingDone9
> Assignee: DoingDone9
> Priority: Critical
>
> when i run cmd like that sc.addFile("../test.txt"), it did not work and throw
> an exception
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI: file:../test.txt
> at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> ........
> .......
> Caused by: java.net.URISyntaxException: Relative path in absolute URI:
> file:../test.txt
> at java.net.URI.checkPath(URI.java:1804)
> at java.net.URI.<init>(URI.java:752)
> at org.apache.hadoop.fs.Path.initialize(Path.java:203)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]