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 <sandeepv...@gmail.com>: > Hi Sparkers, > > I am trying to load data in spark with the following command > > *sqlContext.sql("LOAD DATA LOCAL INPATH '/home/spark12/sandeep/sandeep.txt > ' INTO TABLE src");* > > *Getting exception below* > > > *Server IPC version 9 cannot communicate with client version 4* > > NOte : i am using Hadoop 2.2 version and spark 1.2 and hive 0.13 > > > > >