Thanks Anastasis for your response. The ping is ok from Hama server to Namenode which is actually the same server. But you are right I need to check the firewall.
Regards, Vahe On Wed, Sep 4, 2013 at 8:53 AM, Anastasis Andronidis < [email protected]> wrote: > You can see the configurations of your Datanode (in conf directory) to see > if you have any miss configurations on names and ports of namenode. > > Else you should see for firewalls or try to ping the Namenode from Hama > server. > > It seams like a network problem. > > Kindly, > Anastasis > > On 4 Σεπ 2013, at 11:45 π.μ., Vahe nr <[email protected]> wrote: > > > Dear all, > > > > I have a Hadoop cluster with one Namenode and one Datanode the cluster is > > working on which I have executed several examples. > > Just now I want to use hama for some programming purposes, but when I am > > trying to start hama I am getting the following: > > 2013-09-04 12:22:44,510 INFO org.apache.hadoop.ipc.Client: Retrying > connect > > to server: hmaster/IP:9000. Already tried 9 time(s). > > 2013-09-04 12:22:44,513 ERROR org.apache.hama.bsp.BSPMaster: Can't get > > connection to Hadoop Namenode! > > java.net.ConnectException: Call to hmaster/IP:9000 failed on connection > > exception: java.net.ConnectException: Connection refused > > > > I am using hadoop-1.0.4 and hama-0.6.2 > > > > Hama config files are: > > hama-site.xml > > <configuration> > > <property> > > <name>bsp.master.address</name> > > <value>hmaster:40000</value> > > <description>The address of the bsp master server. Either the > > literal string "local" or a host:port for distributed mode > > </description> > > </property> > > > > <property> > > <name>fs.default.name</name> > > <value>hdfs://hmaster:9000/</value> > > <description> > > The name of the default file system. Either the literal string > > "local" or a host:port for HDFS. > > </description> > > </property> > > > > <property> > > <name>hama.zookeeper.quorum</name> > > <value>hmaster</value> > > <description>Comma separated list of servers in the ZooKeeper > Quorum. > > For example, "host1.mydomain.com,host2.mydomain.com, > host3.mydomain.com > > ". > > By default this is set to localhost for local and pseudo-distributed > > modes > > of operation. For a fully-distributed setup, this should be set to a > > full > > list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in > > hama-env.sh > > this is the list of servers which we will start/stop zookeeper on. > > </description> > > </property> > > > > groomservers > > hslave01 //which is the node name > > > > I will appreciate any help or suggestion to overcome this problem. > > > > Let me mention that when I am executing /stop-bspd.sh I am getting the > > following: > > no bspmaster to stop > > hslave01: stopping groom > > hmaster: stopping zookeeper > > > > So the groom and zookeeper are working fine. > > > > > > Regards, > > Vahe > >
