hi, all. when I try to setup a hadoop enviroment which have one master
and one slave
master: localhost
slave: 10.62.164.60

after start-all.sh, I got the information
from http://localhost:50070/dfshealth.jsp as "There are no datanodes in
the cluster" 

any help ia appreciated, thanks:D

my hadoop-site.xml is is below:
------------------------------------
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
        <property>
                <name>fs.default.name</name>
                <value>localhost:7770</value>
                <description></description>
        </property>
        <property>
                <name>mapred.job.tracker</name>
                <value>localhost:7771</value>
                <description></description>
        </property>
        <property>
                <name>hadoop.tmp.dir</name>
                <value>/home/zhaoyi/devel/hadoop/tmp</value>
                <description></description>
        </property>
        <property>
                <name>dfs.name.dir</name>
                <value>/home/zhaoyi/devel/hadoop/fs/name</value>
                <description></description>
        </property>
        <property>
                <name>dfs.data.dir</name>
                <value>/home/zhaoyi/devel/hadoop/fs/data</value>
                <description></description>
        </property>
        <property>
                <name>dfs.replication</name>
                <value>1</value>
                <description></description>
        </property>
</configuration>

Reply via email to