Hi, You can try setting the heap space memory to a higher value. Are you using an Ubuntu machine? In bashrc set the following option. export _JAVA_OPTIONS=-Xmx2g This should set your heap size to a higher value. Regards, Madhura
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Java-null-pointer-exception-while-saving-hadoop-file-tp10220p10244.html Sent from the Apache Spark User List mailing list archive at Nabble.com.