For building Spark for particular version of Hadoop Refer http://spark.apache.org/docs/latest/hadoop-third-party-distributions.html
On Thu, Jun 5, 2014 at 8:14 AM, Koert Kuipers <ko...@tresata.com> wrote: > you have to build spark against the version of hadoop your are using > > > On Wed, Jun 4, 2014 at 10:25 PM, bluejoe2008 <bluejoe2...@gmail.com> > wrote: > >> hi, all >> when my spark program accessed hdfs files >> an error happened: >> >> Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC >> version 9 cannot communicate with client version 4 >> >> >> it seems the client was trying to connect hadoop2 via an old hadoop >> protocol >> >> so my question is: >> how to specify the version of hadoop on connection? >> >> thank you! >> >> bluejoe >> >> 2014-06-05 >> ------------------------------ >> >> > >