hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Re: ERROR org.apache.hama.bsp.BSPMaster: Can't get connection to Hadoop Namenode!,org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4
Date Sat, 25 Jan 2014 03:48:23 GMT
http://wiki.apache.org/hama/CompatibilityTable

On Fri, Jan 24, 2014 at 7:56 PM, Efi <kaltirim@lab.grid.auth.gr> wrote:
> Greeting,
>
> I recently tried to install hama-0.6.3 to a hadoop cluster,and I get the
> error mentioned in the subject of the email
> The hadoop version is CDH 4.3.0
> The HDFS version is  2
> I set the HAMA_HOME in hama-env to: /usr/lib/hama
> The install directory for hama
> I followed the install instructions mentioned here
> http://people.apache.org/~tjungblut/downloads/hamadocs/ApacheHamaInstallationGuide_06.pdf
>
> When I run the start-bspd.sh i get this output in the bspmaster log file:
>
> 2014-01-24 11:57:57,204 INFO org.apache.hama.BSPMasterRunner: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting BSPMaster
> STARTUP_MSG:   host = master01.hadoop/172.16.20.2
> STARTUP_MSG:   args = []
> STARTUP_MSG:   version = 1.2.0
> STARTUP_MSG:   build =
> https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r
> 1479473; compiled by 'hortonfo' on Mon May  6 18:29:07 UTC 2013
> STARTUP_MSG:   java = 1.6.0_24
> ************************************************************/
> 2014-01-24 11:57:57,399 INFO org.apache.hama.bsp.BSPMaster: RPC BSPMaster:
> host master01.hadoop port 40000
> 2014-01-24 11:57:57,497 INFO org.apache.hama.ipc.Server: Starting Socket
> Reader #1 for port 40000
> 2014-01-24 11:57:57,536 INFO org.mortbay.log: Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
> 2014-01-24 11:57:57,585 INFO org.apache.hama.http.HttpServer: Port returned
> by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening
> the listener on 40013
> 2014-01-24 11:57:57,586 INFO org.apache.hama.http.HttpServer:
> listener.getLocalPort() returned 40013
> webServer.getConnectors()[0].getLocalPort() returned 40013
> 2014-01-24 11:57:57,587 INFO org.apache.hama.http.HttpServer: Jetty bound
> tat org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>         at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56)o
> port 40013
> 2014-01-24 11:57:57,587 INFO org.mortbay.log: jetty-6.1.14
> 2014-01-24 11:57:57,616 INFO org.mortbay.log: Extract
> jar:file:/usr/lib/hama/hama-core-0.6.3.jar!/webapp/bspmaster/ to
> /tmp/Jetty_master01_hadoop_40013_bspmaster____.9m750a/webapp
> 2014-01-24 11:57:57,870 INFO org.mortbay.log: Started
> SelectChannelConnector@master01.hadoop:40013
> 2014-01-24 11:57:57,999 ERROR org.apache.hama.bsp.BSPMaster: Can't get
> connection to Hadoop Namenode!
> org.apache.hadoop.ipc.RemoteException: Server IPC version 7 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 sun.proxy.$Proxy5.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:616)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:85)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:62)
>         at sun.proxy.$Proxy5.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:1437)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1455)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)
>         at org.apache.hama.bsp.BSPMaster.<init>(BSPMaster.java:317)
>         at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:489)
>         at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:475)
>         at org.apache.hama.BSPMasterRunner.run(BSPMasterRunner.java:46)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>         at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56)
>
> Any advice on what to do next? Thanks in advance
> Regards,
> Efi



-- 
Best Regards, Edward J. Yoon
@eddieyoon

Mime
View raw message