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.
You would probably have better luck trying out the java community and searching for things relating to the java causedby error.