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 <hafizmujadi...@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-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org