FAQ
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?

Search Discussions

  • Madhu phatak at Jul 28, 2011 at 12:07 pm
    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 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?
  • Doan Ninh at Jul 28, 2011 at 12:16 pm
    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 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 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 at Jul 28, 2011 at 12:46 pm
    Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000
    Thanks,
    Nitin
    On 28 July 2011 17:46, Doan Ninh 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 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 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
  • Doan Ninh at Jul 28, 2011 at 1:15 pm
    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 wrote:

    Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000
    Thanks,
    Nitin
    On 28 July 2011 17:46, Doan Ninh 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 <phatak.dev@gmail.com>
    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 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
  • Laxman at Jul 28, 2011 at 2:26 pm
    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
    Sent: Thursday, July 28, 2011 6:45 PM
    To: common-user@hadoop.apache.org
    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 wrote:

    Plz change ur* fs.default.name* to hdfs://192.168.1.101:9000
    Thanks,
    Nitin
    On 28 July 2011 17:46, Doan Ninh 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 <phatak.dev@gmail.com>
    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 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedJul 28, '11 at 11:52a
activeJul 28, '11 at 2:26p
posts6
users4
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase