Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/3326#issuecomment-63528137
@andrewor14 all the URIs you mention as not valid are actually valid.
- `file` scheme with authority is valid. It won't do anything useful in
most cases, but on Windows, for example, it might work (if it's pointing at an
SMB share)
- `hdfs` scheme with no host will probably default to `fs.defaultFS`, if I
remember correctly the HDFS code. (if the scheme matches, otherwise HDFS will
throw an exception)
- `///` means "default host", which is generally "localhost" but in HDFS
might be the above.
So those are all valid URIs, which is why no exception is thrown when you
construct the URI object.
---
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]