For those curious I used the JavaSparkContext and got access to an
AvroSequenceFile (wrapper around Sequence File) using the following:
file = sc.newAPIHadoopFile("<hdfs path to my file>",
AvroSequenceFileInputFormat.class, AvroKey.class, AvroValue.class,
new Configuration())
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/NullPointerException-when-reading-Avro-Sequence-files-tp10201p10305.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.