How did you resolve it?
On Tue, Jul 15, 2014 at 3:50 AM, SK wrote:
> The problem is resolved. Thanks.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/jsonRDD-NoSuchMethodError-tp9688p9742.html
> Sent from the Apache Spar
The problem is resolved. Thanks.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/jsonRDD-NoSuchMethodError-tp9688p9742.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
.nabble.com/jsonRDD-NoSuchMethodError-tp9688p9735.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
l sqlc = new org.apache.spark.sql.SQLContext(sc)
>
> val jrdd = sc.textFile(args(0)).filter(r=> r.trim != "")
> val data = sqlc.jsonRDD(jrdd)
>
> data.printSchema()
>}
> }
>
>
>
>
> --
> View this message in context:
>
r=> r.trim != "")
val data = sqlc.jsonRDD(jrdd)
data.printSchema()
}
}
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/jsonRDD-NoSuchMethodError-tp9688.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.