Spark java.lang.VerifyError Spark java.lang.VerifyError hadoop hadoop

Spark java.lang.VerifyError


check the pom.xml where you compiled

search for protobuf version. It might solve the problem.

Or the problem might be something else as mentioned in this Jira thread.

https://issues.apache.org/jira/browse/SPARK-7238


You need to check the py4j jar version that is needed for this hadoop version. Download that and place it in the lib folder of spark installed directory. And check bashrc for path reference. It will fix this error