Have you tried implementing Serializable? This is similar to what I did:
public class MySequenceFileClass implements WritableComparable, Serializable Read as sequence file. I tried takeSample, it works for me. I found that if I didn't implement Serializable, I got a serialization exception. I didn't have to do any registration of the class. Of course, all referenced classes must also implement Serializable. Is that a problem in your application? ----- Madhu https://www.linkedin.com/in/msiddalingaiah -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Hadoop-Writable-and-Spark-serialization-tp5721p5962.html Sent from the Apache Spark User List mailing list archive at Nabble.com.
