Hi All:
During using camel,i encounter  a problem that is RemoteException.
some infomation that the version of hdfs client is 2.16.0,and the version of 
camel-hdfs is 2.16.4 maybe be helpful to let you know about my program.
any reply is welcome, and thanks very much.

Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC
version 9 cannot communicate with client version 4
        at org.apache.hadoop.ipc.Client.call(Client.java:1113)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
        at com.sun.proxy.$Proxy16.getProtocolVersion(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:85)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:62)
        at com.sun.proxy.$Proxy16.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.ipc.RPC.checkVersion(RPC.java:422)
        at org.apache.hadoop.hdfs.DFSClient.createNamenode(DFSClient.java:183)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:281)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:245)
        at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:100)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1446)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:263)
        at org.apache.camel.component.hdfs.HdfsInfo.<init>(HdfsInfo.java:36)
        at
org.apache.camel.component.hdfs.HdfsInfoFactory.newHdfsInfo(HdfsInfoFactory.java:36)
        at
org.apache.camel.component.hdfs.HdfsConsumer.setupHdfs(HdfsConsumer.java:81)
        at
org.apache.camel.component.hdfs.HdfsConsumer.doStart(HdfsConsumer.java:66)
        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3234)
        at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3528)
        at
org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3464)
        at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3394)
        at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3162)
        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3018)
        at
org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2814)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2810)
        at
org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2833)
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2810)
        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2779)
        at
com.ll.maven.EsWeb.Servlet.TestCamelAndHdfs.main(TestCamelAndHdfs.java:27)



--
View this message in context: 
http://camel.465427.n5.nabble.com/Exception-in-thread-main-org-apache-hadoop-ipc-RemoteException-Server-IPC-version-9-cannot-communica4-tp5789333.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to