You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Kevin Burton <rk...@charter.net> on 2013/04/22 16:50:20 UTC

Cannot communicate

I am relatively new to Hadoop and am working through a Manning publication "Hadoop in Action". One of the first program in the book (page 44) gives me a Java exception: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 3.

My Hadoop distribution is CDH4. The Java Maven project takes its dependency from Apache. The exception comes from a line involving the "Configuration" class.

Any idea on how to avoid this exception?

Re: Cannot communicate

Posted by Kevin Burton <rk...@charter.net>.
What dependency for the Maven project should I use?

On Apr 22, 2013, at 10:02 AM, Ted Yu <yu...@gmail.com> wrote:

> The exception was due to incompatible RPC versions between Apache maven
> artifacts and CDH4.
> 
> I suggest you build the project with same hadoop version as in your cluster.
> 
> On Mon, Apr 22, 2013 at 7:50 AM, Kevin Burton <rk...@charter.net>wrote:
> 
>> I am relatively new to Hadoop and am working through a Manning publication
>> "Hadoop in Action". One of the first program in the book (page 44) gives me
>> a Java exception: org.apache.hadoop.ipc.RemoteException: Server IPC version
>> 7 cannot communicate with client version 3.
>> 
>> My Hadoop distribution is CDH4. The Java Maven project takes its
>> dependency from Apache. The exception comes from a line involving the
>> "Configuration" class.
>> 
>> Any idea on how to avoid this exception?

Re: Cannot communicate

Posted by Ted Yu <yu...@gmail.com>.
The exception was due to incompatible RPC versions between Apache maven
artifacts and CDH4.

I suggest you build the project with same hadoop version as in your cluster.

On Mon, Apr 22, 2013 at 7:50 AM, Kevin Burton <rk...@charter.net>wrote:

> I am relatively new to Hadoop and am working through a Manning publication
> "Hadoop in Action". One of the first program in the book (page 44) gives me
> a Java exception: org.apache.hadoop.ipc.RemoteException: Server IPC version
> 7 cannot communicate with client version 3.
>
> My Hadoop distribution is CDH4. The Java Maven project takes its
> dependency from Apache. The exception comes from a line involving the
> "Configuration" class.
>
> Any idea on how to avoid this exception?