Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Sean Owen
Of course, VERSION is supposed to be replaced by a real Hadoop version! On Wed, Mar 25, 2015 at 12:04 PM, sandeep vura wrote: > Build failed with following errors. > > I have executed the below following command. > > mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=VERSION -DskipTests clean package > >

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Akhil Das
Oh, in that case you should mention 2.4, If you don't want to compile spark, then you can download the precompiled version from Downloads page . http://d3kbcqa49mib13.cloudfront.net/spark-1.2.0-bin-hadoop2.4.tgz Thanks Best Regards On Wed, Mar 25, 2015 at

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread sandeep vura
*I am using hadoop 2.4 should i mention -Dhadoop.version=2.2* *$ hadoop version* *Hadoop 2.4.1* *Subversion http://svn.apache.org/repos/asf/hadoop/common -r 1604318* *Compiled by jenkins on 2014-06-21T05:43Z* *Compiled with protoc 2.5.0* *From source

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Akhil Das
-D*hadoop.version=2.2* Thanks Best Regards On Wed, Mar 25, 2015 at 5:34 PM, sandeep vura wrote: > Build failed with following errors. > > I have executed the below following command. > > * mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=VERSION -DskipTests clean > package* > > > [INFO] >

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread sandeep vura
Build failed with following errors. I have executed the below following command. * mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=VERSION -DskipTests clean package* [INFO] [INFO] BUILD FAILURE [INFO]

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Akhil Das
Just run : mvn -Pyarn -Phadoop-2.4 -D*hadoop.version=2.2* -DskipTests clean package ​ Thanks Best Regards On Wed, Mar 25, 2015 at 3:08 PM, sandeep vura wrote: > Where do i export MAVEN_OPTS in spark-env.sh or hadoop-env.sh > > I am running the below command in spark/yarn directory where pom.

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread sandeep vura
Where do i export MAVEN_OPTS in spark-env.sh or hadoop-env.sh I am running the below command in spark/yarn directory where pom.xml file is available mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=VERSION -DskipTests clean package Please correct me if i am wrong. On Wed, Mar 25, 2015 at 12:55 PM, S

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Akhil Das
Is your spark compiled against hadoop 2.2? If not download the Spark 1.2 binary with Hadoop 2.2 Thanks Best Regards On Wed, Mar 25, 2015 at 12:52 PM, sandeep vura wrote: > Hi Sparkers, > > I am trying to load data in spark with the following command > >

Re: Server IPC version 9 cannot communicate with client version 4

2015-03-25 Thread Saisai Shao
Looks like you have to build Spark with related Hadoop version, otherwise you will meet exception as mentioned. you could follow this doc: http://spark.apache.org/docs/latest/building-spark.html 2015-03-25 15:22 GMT+08:00 sandeep vura : > Hi Sparkers, > > I am trying to load data in spark with th