Could not find a serializer for the Key class: 'scala.runtime.Null$'

apache-spark
scala

#1

Hi,

I’m trying to write data to sequence file with key as null in my spark-shell.
But it throws some error related to serialization.

Caused by: java.io.IOException: Could not find a serializer for the Key class: 'scala.runtime.Null$'. Please ensure that the configuration 'io.serializations' is properly configured,

Please someone assist me in solving this issue.