You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Hafiz Mujadid <ha...@gmail.com> on 2014/12/31 11:47:04 UTC

Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot communicate with client version 4

I am accessing hdfs with spark .textFile method. and I receive error as 

Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC
version 9 cannot communicate with client version 4


here are my dependencies 
<http://apache-spark-user-list.1001560.n3.nabble.com/file/n20925/Untitled.png> 


Any suggestion ? 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exception-in-thread-main-org-apache-hadoop-ipc-RemoteException-Server-IPC-version-9-cannot-communica4-tp20925.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot communicate with client version 4

Posted by Sean Owen <so...@cloudera.com>.
This generally means you have packaged Hadoop 1.x classes into your
app accidentally. The most common cause is not marking Hadoop and
Spark classes as "provided" dependencies. Your app doesn't need to
ship its own copy of these classes when you use spark-submit.

On Wed, Dec 31, 2014 at 10:47 AM, Hafiz Mujadid
<ha...@gmail.com> wrote:
> I am accessing hdfs with spark .textFile method. and I receive error as
>
> Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC
> version 9 cannot communicate with client version 4
>
>
> here are my dependencies
> <http://apache-spark-user-list.1001560.n3.nabble.com/file/n20925/Untitled.png>
>
>
> Any suggestion ?
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exception-in-thread-main-org-apache-hadoop-ipc-RemoteException-Server-IPC-version-9-cannot-communica4-tp20925.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org