Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/3326#issuecomment-63536391
I see. By "valid" here we mean it provides the scheme, the path and the
authority. However, when you do two-slashes on `file:`, it actually interprets
it differently from what I would otherwise assume.
```
scala> new URI("file:/path/to/my.jar").getPath
res9: String = /path/to/my.jar
scala> new URI("file://path/to/my.jar").getPath
res10: String = /to/my.jar
```
I suppose then it is the user's responsibility to not make this mistake. We
can't prevent this because "path" could be a valid authority or hostname here
and we won't be able to tell the difference.
---
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]