Spark-submit:ERROR SparkContext: Error initializing SparkContext Spark-submit:ERROR SparkContext: Error initializing SparkContext hadoop hadoop

Spark-submit:ERROR SparkContext: Error initializing SparkContext


Not a spark issue. It's a jre issue as you already know from your back and forth on the same question in hortonworks community section.

https://community.hortonworks.com/questions/147257/error-sparkcontext-error-initializing-sparkcontext.html

You would probably have better luck trying out the java community and searching for things relating to the java causedby error.