Hi Luis,
> - For mere consistency of the page, you might want to use the tag <tt> > (used in the rest of the document) instead of the <em> that you are using > for names of files and configuration properties. > Thanks, I will take care of that. - I don't know if this is only my problem, but when I execute Hama with the > Local configuration, the Master doesn't run (and neither does the Groom). > They don't recognize "local" as a valid hostname, both fail with this > exception: > "local" itself is no hostname, there is a bug in our handling of this mode. Actually nothing should be launched then. I'll extend this in our wiki. What you are searching for is the pseudo-distributed mode which runs a Master, Groom and Zookeeper on your machine. You then have to provide "localhost" as the hostname or the real hostname of your machine. Is this maybe a problem with version 0.3? Would you suggest me to use 0.2 > instead? > In 0.2 is no local mode, so you won't face these problems. Since this is a twiddle in your configuration, which should be solved using "localhost" instead of "local", you don't need to downgrade. I hope it will help you. Regards, Thomas 2011/9/14 Luis Eduardo Pineda Morales <[email protected]> > Thanks for you prompt reply Thomas, > > The wiki is more clarifying now that you added the part of the Modes. > However, if I may, I have a couple of remarks to mention: > > - For mere consistency of the page, you might want to use the tag <tt> > (used in the rest of the document) instead of the <em> that you are using > for names of files and configuration properties. > > - I don't know if this is only my problem, but when I execute Hama with the > Local configuration, the Master doesn't run (and neither does the Groom). > They don't recognize "local" as a valid hostname, both fail with this > exception: > > From* bspmaster.log:* > > *FATAL org.apache.hama.BSPMasterRunner: java.net.UnknownHostException: > Invalid hostname for server: local* > at org.apache.hadoop.ipc.Server.bind(Server.java:198) > at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:253) > at org.apache.hadoop.ipc.Server.<init>(Server.java:1026) > at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:488) > at org.apache.hadoop.ipc.RPC.getServer(RPC.java:450) > at org.apache.hadoop.ipc.RPC.getServer(RPC.java:441) > at org.apache.hama.bsp.BSPMaster.<init>(BSPMaster.java:250) > at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:421) > at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:415) > 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) > > > From *groom.log* > > ERROR org.apache.hama.bsp.GroomServer: Got fatal exception while > reinitializing GroomServer: java.net.UnknownHostException: unknown host: > local > at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195) > at org.apache.hadoop.ipc.Client.getConnection(Client.java:850) > at org.apache.hadoop.ipc.Client.call(Client.java:720) > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) > at $Proxy4.getProtocolVersion(Unknown Source) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:346) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:383) > at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:314) > at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:291) > at org.apache.hama.bsp.GroomServer.initialize(GroomServer.java:279) > at org.apache.hama.bsp.GroomServer.run(GroomServer.java:600) > at java.lang.Thread.run(Thread.java:680) > > > I've tested it in Debian, Ubuntu and MacOS Terminal. Is this maybe a > problem with version 0.3? Would you suggest me to use 0.2 instead? > > > I'm copying this to the user mailing list too, hope you don't mind. > > Luis > -- Thomas Jungblut Berlin mobile: 0170-3081070 business: [email protected] private: [email protected]
