Github user piggybox commented on the pull request: https://github.com/apache/spark/pull/8899#issuecomment-145629205 This is indeed confusing. I once used sqlContext.read.json() to read a path to a folder of JSON files and that worked, so I then tried the parent folder to read recursively and saw this error. Also I tried the parent path ended with '/*' or '/*/' as a glob I used in Hadoop and got the same error. I want to add that it's confusing also because in the log I can see things like " HadoopRDD: Input split: " followed by the path to one of actual JSON file, so that seems Spark does find the file and starts reading.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org