Member since
05-16-2016
3
Posts
0
Kudos Received
0
Solutions
05-17-2016
09:14 PM
Ahhh. Originally I loaded on windows machine and was getting the "incorrect/corrupt format" error so i thought switching over to the sandbox would help. i didn't realize by default that it loads from hdfs! so now, i have edited the JSON document and re-tried loading it in the spark-shell in windows, it works 🙂 so u answered both questions i had! thank u sir.
... View more
05-17-2016
12:54 AM
hi - i am trying to load my json file using spark and
cannot seem to do it correctly. the path at the end of this bit of
scala. the file is located on my sandbox in the tmp folder. i've tried: val df2 = sqlContext.read.format("json").option("samplingRatio", "1.0").load("/tmp/rawpanda.json") any help would be great thanks. mark
... View more
Labels:
- Labels:
-
Apache Spark
05-16-2016
09:05 PM
hi - i am trying to load my json file using spark and cannot seem to do it correctly. the path at the end of this bit of scala. the file is located on my sandbox in the tmp folder. i've tried: val df2 = sqlContext.read.format("json").option("samplingRatio", "1.0").load("/tmp/rawpanda.json") any help would be great thanks. mark
... View more
Labels:
- Labels:
-
Apache Spark