FAQ
Hi all,

I've set up a standalone hadoop server , and when I run
bin/hadoop dfs namenode -format

I get the following message ( repeating 10 times ) :

ipc.Client: Retrying connect to server: localhost/127.0.0.1:50000




My hadoop-site.xml file is as follows :

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>



<configuration>

<property>
<name>fs.default.name</name>
<value>localhost:50000</value>
</property>

<property>
<name>mapred.job.tracker</name>
<value>localhost:50001</value>
</property>


<property>
<name>hadoop.tmp.dir</name>
<value>/tmp/hadoop_storage</value>
</property>

<property>
<name>dfs.replication</name>
<value>1</value>
</property>


<property>
<name>mapred.map.tasks.speculative.execution</name>
<value>false</value>
</property>

<property>
<name>mapred.reduce.tasks.speculative.execution</name>
<value>false</value>
</property>

</configuration>


Any happen would be appreciated.

Thanks a lot ,
Shimon

Search Discussions

  • Akshar at May 14, 2008 at 4:27 pm
    I suggest mapping localhost to actual IP in my /etc/hosts file and
    running it again.

    Akshar


    On Wed, May 14, 2008 at 9:13 AM, Shimon wrote:

    Hi all,

    I've set up a standalone hadoop server , and when I run
    bin/hadoop dfs namenode -format

    I get the following message ( repeating 10 times ) :

    ipc.Client: Retrying connect to server: localhost/127.0.0.1:50000




    My hadoop-site.xml file is as follows :

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>



    <configuration>

    <property>
    <name>fs.default.name</name>
    <value>localhost:50000</value>
    </property>

    <property>
    <name>mapred.job.tracker</name>
    <value>localhost:50001</value>
    </property>


    <property>
    <name>hadoop.tmp.dir</name>
    <value>/tmp/hadoop_storage</value>
    </property>

    <property>
    <name>dfs.replication</name>
    <value>1</value>
    </property>


    <property>
    <name>mapred.map.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    <property>
    <name>mapred.reduce.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    </configuration>


    Any happen would be appreciated.

    Thanks a lot ,
    Shimon
  • Shimon golan at May 15, 2008 at 9:20 am
    Thanks ,

    I did that but it didn't work ( I got the same message )

    my updated /etc/hosts file is

    127.0.0.1 localhost mem
    192.168.5.236 localhost mem

    I've also tried this :

    192.168.5.236 localhost mem
    127.0.0.1 localhost mem

    which gave the message
    Retrying connect to server: localhost/192.168.5.236:50000















    On Wed, May 14, 2008 at 7:27 PM, Akshar wrote:

    I suggest mapping localhost to actual IP in my /etc/hosts file and
    running it again.

    Akshar


    On Wed, May 14, 2008 at 9:13 AM, Shimon wrote:

    Hi all,

    I've set up a standalone hadoop server , and when I run
    bin/hadoop dfs namenode -format

    I get the following message ( repeating 10 times ) :

    ipc.Client: Retrying connect to server: localhost/127.0.0.1:50000




    My hadoop-site.xml file is as follows :

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>



    <configuration>

    <property>
    <name>fs.default.name</name>
    <value>localhost:50000</value>
    </property>

    <property>
    <name>mapred.job.tracker</name>
    <value>localhost:50001</value>
    </property>


    <property>
    <name>hadoop.tmp.dir</name>
    <value>/tmp/hadoop_storage</value>
    </property>

    <property>
    <name>dfs.replication</name>
    <value>1</value>
    </property>


    <property>
    <name>mapred.map.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    <property>
    <name>mapred.reduce.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    </configuration>


    Any happen would be appreciated.

    Thanks a lot ,
    Shimon
  • Akshar at May 15, 2008 at 4:50 pm
    Are you just trying to get this running for the first time?

    To format a new distributed filesystem you can use:
    $ bin/hadoop namenode -format

    As it says in the docs:
    *You need to do this the first time you set up a Hadoop installation.
    Do notformat a running Hadoop filesystem, this will cause all your
    data to be
    erased. Before formatting, ensure that the dfs.name.dir directory exists. If
    you just used the default, then mkdir -p /tmp/hadoop-username/dfs/name will
    create the directory. To format the filesystem (which simply initializes the
    directory specified by the dfs.name.dir variable).** *
    On Thu, May 15, 2008 at 2:19 AM, shimon golan wrote:

    Thanks ,

    I did that but it didn't work ( I got the same message )

    my updated /etc/hosts file is

    127.0.0.1 localhost mem
    192.168.5.236 localhost mem

    I've also tried this :

    192.168.5.236 localhost mem
    127.0.0.1 localhost mem

    which gave the message
    Retrying connect to server: localhost/192.168.5.236:50000















    On Wed, May 14, 2008 at 7:27 PM, Akshar wrote:

    I suggest mapping localhost to actual IP in my /etc/hosts file and
    running it again.

    Akshar


    On Wed, May 14, 2008 at 9:13 AM, Shimon wrote:

    Hi all,

    I've set up a standalone hadoop server , and when I run
    bin/hadoop dfs namenode -format

    I get the following message ( repeating 10 times ) :

    ipc.Client: Retrying connect to server: localhost/127.0.0.1:50000




    My hadoop-site.xml file is as follows :

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>



    <configuration>

    <property>
    <name>fs.default.name</name>
    <value>localhost:50000</value>
    </property>

    <property>
    <name>mapred.job.tracker</name>
    <value>localhost:50001</value>
    </property>


    <property>
    <name>hadoop.tmp.dir</name>
    <value>/tmp/hadoop_storage</value>
    </property>

    <property>
    <name>dfs.replication</name>
    <value>1</value>
    </property>


    <property>
    <name>mapred.map.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    <property>
    <name>mapred.reduce.tasks.speculative.execution</name>
    <value>false</value>
    </property>

    </configuration>


    Any happen would be appreciated.

    Thanks a lot ,
    Shimon

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedMay 14, '08 at 4:14p
activeMay 15, '08 at 4:50p
posts4
users3
websitehadoop.apache.org...
irc#hadoop

3 users in discussion

Akshar: 2 posts Shimon: 1 post Shimon golan: 1 post

People

Translate

site design / logo © 2022 Grokbase