spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spats <>
Subject JavaRDD to DataFrame fails with null pointer exception in 1.6.0
Date Wed, 17 Aug 2016 04:28:55 GMT
Cannot convert JavaRDD to DataFrame in spark 1.6.0, throws null pointer
exception & no more details. Can't really figure out what really happening.
Any pointer to fixes?

//convert JavaRDD to DataFrame
DataFrame schemaPeople = sqlContext.createDataFrame(people, Person.class);

// exception with no more details
Exception in thread "main" java.lang.NullPointerException

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe e-mail:

View raw message