You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vinod (JIRA)" <ji...@apache.org> on 2017/05/16 11:09:04 UTC
[jira] [Created] (SPARK-20766) Spark 2.1 Client can't connect to
2.1 Server
Vinod created SPARK-20766:
-----------------------------
Summary: Spark 2.1 Client can't connect to 2.1 Server
Key: SPARK-20766
URL: https://issues.apache.org/jira/browse/SPARK-20766
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.1.0
Reporter: Vinod
From my application, I am unable to connect to spark master because of the below error
Caused by: java.lang.RuntimeException: java.io.InvalidClassException: org.apache.spark.rpc.netty.RequestMessage; local class incompatible: stream classdesc serialVersionUID = -2221986757032131007, local class serialVersionUID = -5447855329526097695
I understand that there is a version compatibility issue, but unable to resolve it as it seems fine to me. Below is my version info
Application(Tomcat) Java 7
Spark Installation 2.1.0
./spark-shell --version
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 2.1.0
/_/
Using Scala version 2.11.8, Java HotSpot(TM) 64-Bit Server VM, 1.8.0_91
Branch
Compiled by user jenkins on 2016-12-16T02:04:48Z
Revision
Url
Type --help for more information.
Maven Dependency
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
<version>2.1.0</version>
Is it because my application is on Java 7 and Spark 2.1 runs on Java 8 ?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org