Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/375#issuecomment-40237239
Not sure if I understand. Are you saying that if we somehow configure the
default file scheme to be `hdfs://`, then it will still match the `null` in the
first case statement, even if the path is really for HDFS? Currently the
FileLogger requires you to explicitly specify the `hdfs://` scheme as it does
not have a notion of default file schemes (unlike in say `sc.textFile`), though
this need not be the case.
---
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.
---