Github user oza commented on the issue:
https://github.com/apache/spark/pull/15841
Before the patch:
```
scala> val df = spark.read.json("examples/src/main/resources/people.json")
16/11/10 21:02:59 WARN datasources.DataSource: Error while looking for
metadata directory.
java.net.ConnectException: Call From ozamac-2.local/10.129.56.104 to
localhost:9000 failed on connection exception: java.net.ConnectException:
Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused
```
After the patch:
```
scala> val df = spark.read.json("file:///" + System.getProperty("user.dir")
+ "/examples/src/main/resources/people.json")
df: org.apache.spark.sql.DataFrame = [age: bigint, name: string]
```
---
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]