You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by xuyang <64...@qq.com> on 2014/04/14 17:52:50 UTC

Error: E0902: Exception occured: [Server IPC version 9 cannot communicate with client version 4]

I've built Oozie step by step as the guide shows. It said 'Error: E0902:
Exception occured: [Server IPC version 9 cannot communicate with client
version 4]' when I run the command 'bin/oozie-setup.sh prepare-war sharelib
create -fs hdfs://192.168.1.240:9000'.

Detail:

 

Setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"

The destination path for sharelib is:/user/hadoop/share/lib

 

Error: E0902: Exception occured: [Server IPC version 9 cannot communicate
with client version 4]

 

Stack trace for the error was (for debug purposes):

---------------------------------------------------------

Org.apache.oozie.service.HadoopAccesorException:E0902: Error: E0902:
Exception occured: [Server IPC version 9 cannot communicate with client
version 4]

         at
org.apache.oozie.service.HadoopAccessorService.createFileSystem(HadoopAccess
orService.java:430)

         at
org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:144)

         at
org,apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:52)

Caused by:org.apache.hadoop.ipc.RemoteException:Server IPC version 9 cannot
communicate with client version 4

         at org.apache.hadoop.ipc.Client.call(Client.java:1107)

         at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)

         at $Proxy5.getProtocolVersion(Unknown Sourece)

         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)

         at
org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)

         ..

 

Note:

'hdfs://192.168.1.240:9000' is my default-fs-name.

 

Waiting for your help. Thank you very much.

By the way, could you give me a more detail list of guide.

 

-Xuyang


Re: Error: E0902: Exception occured: [Server IPC version 9 cannot communicate with client version 4]

Posted by Gordon Wang <gw...@gopivotal.com>.
This error means your hadoop client and hadoop server is not the same
version.

You can check the hadoop jars in the oozie classpath, I suspect that you
are using hadoop1 client. But your  cluster is hadoop 2.x.


On Mon, Apr 14, 2014 at 11:52 PM, xuyang <64...@qq.com> wrote:

> I've built Oozie step by step as the guide shows. It said 'Error: E0902:
> Exception occured: [Server IPC version 9 cannot communicate with client
> version 4]' when I run the command 'bin/oozie-setup.sh prepare-war sharelib
> create -fs hdfs://192.168.1.240:9000'.
>
> Detail:
>
>
>
> Setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
>
> The destination path for sharelib is:/user/hadoop/share/lib
>
>
>
> Error: E0902: Exception occured: [Server IPC version 9 cannot communicate
> with client version 4]
>
>
>
> Stack trace for the error was (for debug purposes):
>
> ---------------------------------------------------------
>
> Org.apache.oozie.service.HadoopAccesorException:E0902: Error: E0902:
> Exception occured: [Server IPC version 9 cannot communicate with client
> version 4]
>
>          at
>
> org.apache.oozie.service.HadoopAccessorService.createFileSystem(HadoopAccess
> orService.java:430)
>
>          at
> org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:144)
>
>          at
> org,apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:52)
>
> Caused by:org.apache.hadoop.ipc.RemoteException:Server IPC version 9 cannot
> communicate with client version 4
>
>          at org.apache.hadoop.ipc.Client.call(Client.java:1107)
>
>          at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
>
>          at $Proxy5.getProtocolVersion(Unknown Sourece)
>
>          at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)
>
>          at
> org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)
>
>          ..
>
>
>
> Note:
>
> 'hdfs://192.168.1.240:9000' is my default-fs-name.
>
>
>
> Waiting for your help. Thank you very much.
>
> By the way, could you give me a more detail list of guide.
>
>
>
> -Xuyang
>
>


-- 
Regards
Gordon Wang