Thanks, I resolved the issue. There was a firewall rule which was preventing from accessing few ports.
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/EOF-Exception-when-trying-to-access-hdfs-tp1347p1419.html Sent from the Apache Spark User List mailing list archive at Nabble.com.