用四台Server配置了一个hadoop集群,分别为:
12master 192.168.0.60
12slave1 192.168.0.61
12slave2 192.168.0.62
12slave3 192.168.0.63
安装的是Hadoop 1.2.1和jdk1.7,配置了master和slaves文件,但是启动start-all.sh时,仍然显示
仍然是伪分布式下的启动方式,不知道这是为什么,请各位大神指点!!!
附上core-site.xml、hdfs-site.xml和mapred-site.xml下的配置
core-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/usr/hadoop/tmp</value>
<description>A base for other temporary directories.</description>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://192.168.0.60:9000</value>
</property>
</configuration>
hdfs-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
恳请各位大神给以指点!!!!