|
|
-
Error in 9000 and 9001 port in hadoop-0.20.2
Doan Ninh 2011-07-28, 11:52
Hi,
I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. On the master node (192.168.1.101), I configure fs.default.name = hdfs:// 127.0.0.1:9000. Then i configure everything on 3 other node When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" on the master node Everything is ok, but the slave can't connect to the master on 9000, 9001 port. I manually telnet to 192.168.1.101 in 9000, 9001. And the result is "connection refused" Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. The result is connected. But, on the master node, i telnet to 192.168.1.101:9000 => Connection Refused
Can somebody help me?
-
Re: Error in 9000 and 9001 port in hadoop-0.20.2
madhu phatak 2011-07-28, 12:07
I had issue using IP address in XML files . You can try to use host names in the place of IP address .
On Thu, Jul 28, 2011 at 5:22 PM, Doan Ninh <[EMAIL PROTECTED]> wrote:
> Hi, > > I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. > On the master node (192.168.1.101), I configure fs.default.name = hdfs:// > 127.0.0.1:9000. Then i configure everything on 3 other node > When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" on the > master node > Everything is ok, but the slave can't connect to the master on 9000, 9001 > port. > I manually telnet to 192.168.1.101 in 9000, 9001. And the result is > "connection refused" > Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. The > result is connected. > But, on the master node, i telnet to 192.168.1.101:9000 => Connection > Refused > > Can somebody help me? >
-
Re: Error in 9000 and 9001 port in hadoop-0.20.2
Doan Ninh 2011-07-28, 12:16
In the first time, i use *hadoop-cluster-1* for 192.168.1.101. That is the hostname of the master node. But, the same error occurs How can i fix it?
On Thu, Jul 28, 2011 at 7:07 PM, madhu phatak <[EMAIL PROTECTED]> wrote:
> I had issue using IP address in XML files . You can try to use host names > in > the place of IP address . > > On Thu, Jul 28, 2011 at 5:22 PM, Doan Ninh <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. > > On the master node (192.168.1.101), I configure fs.default.name > hdfs:// > > 127.0.0.1:9000. Then i configure everything on 3 other node > > When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" on > the > > master node > > Everything is ok, but the slave can't connect to the master on 9000, 9001 > > port. > > I manually telnet to 192.168.1.101 in 9000, 9001. And the result is > > "connection refused" > > Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. The > > result is connected. > > But, on the master node, i telnet to 192.168.1.101:9000 => Connection > > Refused > > > > Can somebody help me? > > >
-
Re: Error in 9000 and 9001 port in hadoop-0.20.2
Nitin Khandelwal 2011-07-28, 12:45
Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000 Thanks, Nitin
On 28 July 2011 17:46, Doan Ninh <[EMAIL PROTECTED]> wrote:
> In the first time, i use *hadoop-cluster-1* for 192.168.1.101. > That is the hostname of the master node. > But, the same error occurs > How can i fix it? > > On Thu, Jul 28, 2011 at 7:07 PM, madhu phatak <[EMAIL PROTECTED]> > wrote: > > > I had issue using IP address in XML files . You can try to use host names > > in > > the place of IP address . > > > > On Thu, Jul 28, 2011 at 5:22 PM, Doan Ninh <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. > > > On the master node (192.168.1.101), I configure fs.default.name > > hdfs:// > > > 127.0.0.1:9000. Then i configure everything on 3 other node > > > When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" on > > the > > > master node > > > Everything is ok, but the slave can't connect to the master on 9000, > 9001 > > > port. > > > I manually telnet to 192.168.1.101 in 9000, 9001. And the result is > > > "connection refused" > > > Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. The > > > result is connected. > > > But, on the master node, i telnet to 192.168.1.101:9000 => Connection > > > Refused > > > > > > Can somebody help me? > > > > > >
-- Nitin Khandelwal
-
Re: Error in 9000 and 9001 port in hadoop-0.20.2
Doan Ninh 2011-07-28, 13:14
I changed fs.default.name to hdfs://192.168.1.101:9000. But, the same error as before. I need a help
On Thu, Jul 28, 2011 at 7:45 PM, Nitin Khandelwal < [EMAIL PROTECTED]> wrote:
> Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000 > Thanks, > Nitin > > On 28 July 2011 17:46, Doan Ninh <[EMAIL PROTECTED]> wrote: > > > In the first time, i use *hadoop-cluster-1* for 192.168.1.101. > > That is the hostname of the master node. > > But, the same error occurs > > How can i fix it? > > > > On Thu, Jul 28, 2011 at 7:07 PM, madhu phatak <[EMAIL PROTECTED]> > > wrote: > > > > > I had issue using IP address in XML files . You can try to use host > names > > > in > > > the place of IP address . > > > > > > On Thu, Jul 28, 2011 at 5:22 PM, Doan Ninh <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi, > > > > > > > > I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. > > > > On the master node (192.168.1.101), I configure fs.default.name > > > hdfs:// > > > > 127.0.0.1:9000. Then i configure everything on 3 other node > > > > When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" > on > > > the > > > > master node > > > > Everything is ok, but the slave can't connect to the master on 9000, > > 9001 > > > > port. > > > > I manually telnet to 192.168.1.101 in 9000, 9001. And the result is > > > > "connection refused" > > > > Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. > The > > > > result is connected. > > > > But, on the master node, i telnet to 192.168.1.101:9000 => > Connection > > > > Refused > > > > > > > > Can somebody help me? > > > > > > > > > > > > > -- > > > Nitin Khandelwal >
-
RE: Error in 9000 and 9001 port in hadoop-0.20.2
Laxman 2011-07-28, 14:25
Start the namenode[set fs.default.name to hdfs://192.168.1.101:9000] and check your netstat report [netstat -nlp] to check which port and IP it is binding. Ideally, 9000 should be bound to 192.168.1.101. If yes, configure the same IP in slaves as well. Otw, we may need to revisit your configs once.
To use the hostname, you should have hostname-IP mapping in /etc/hosts file in master as well as slaves.
-----Original Message----- From: Doan Ninh [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 28, 2011 6:45 PM To: [EMAIL PROTECTED] Subject: Re: Error in 9000 and 9001 port in hadoop-0.20.2
I changed fs.default.name to hdfs://192.168.1.101:9000. But, the same error as before. I need a help
On Thu, Jul 28, 2011 at 7:45 PM, Nitin Khandelwal < [EMAIL PROTECTED]> wrote:
> Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000 > Thanks, > Nitin > > On 28 July 2011 17:46, Doan Ninh <[EMAIL PROTECTED]> wrote: > > > In the first time, i use *hadoop-cluster-1* for 192.168.1.101. > > That is the hostname of the master node. > > But, the same error occurs > > How can i fix it? > > > > On Thu, Jul 28, 2011 at 7:07 PM, madhu phatak <[EMAIL PROTECTED]> > > wrote: > > > > > I had issue using IP address in XML files . You can try to use host > names > > > in > > > the place of IP address . > > > > > > On Thu, Jul 28, 2011 at 5:22 PM, Doan Ninh <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi, > > > > > > > > I run Hadoop in 4 Ubuntu 11.04 on VirtualBox. > > > > On the master node (192.168.1.101), I configure fs.default.name > > > hdfs:// > > > > 127.0.0.1:9000. Then i configure everything on 3 other node > > > > When i start the cluster by entering "$HADOOP_HOME/bin/start-all.sh" > on > > > the > > > > master node > > > > Everything is ok, but the slave can't connect to the master on 9000, > > 9001 > > > > port. > > > > I manually telnet to 192.168.1.101 in 9000, 9001. And the result is > > > > "connection refused" > > > > Then, i'm on the master node, telnet to localhost, 127.0.0.1:9000. > The > > > > result is connected. > > > > But, on the master node, i telnet to 192.168.1.101:9000 => > Connection > > > > Refused > > > > > > > > Can somebody help me? > > > > > > > > > > > > > -- > > > Nitin Khandelwal >
|
|