You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by James Ram <ha...@gmail.com> on 2011/03/21 06:02:08 UTC

Unable to connect to the url

Hi,

I am using a standalone linux machine. Namenode and Datanode are running.
But when I try to access the UI in my browser its showing "unable to
connect" error. I know its a basic question please help me. I have given
below the configuration I am using.

*Core-site.xml*

        <property>
              <name>fs.default.name</name>
                <value>hdfs://160.110.185.93/</value>
        </property>


*Mapred-site.xml*

<configuration>
        <property>
                <name>mapred.job.tracker</name>
                <value>160.110.185.93:8021</value>
                <final>true</final>
        </property>
        <property>
                <name>mapred.local.dir</name>
                <value>/home/sao_user/hadoop_sws/mapred/local</value>
                <final>true</final>
        </property>
        <property>
                <name>mapred.tasktracker.map.tasks.maximum</name>
                <value>2</value>
                <final>true</final>
        </property>
        <property>
                <name>mapred.tasktracker.reduce.tasks.maximum</name>
                <value>2</value>
                <final>true</final>
        </property>
        <property>
                <name>mapred.child.java.opts</name>
                <value>-Xmx400m</value>
        </property>
</configuration>

*Hdfs-site.xml*

<configuration>
        <property>
                <name>dfs.name.dir</name>
                <value>/home/sao_user/tmp/hadoop-sao_user/hdfs/name</value>
                <final>true</final>
        </property>

        <property>
                <name>fs.checkpoint.dir</name>

<value>/home/sao_user/tmp/hadoop-sao_user/hdfs/namesecd</value>
                <final>true</final>
        </property>
</configuration>