安装了一台Master和一台salve
启动后的两台机器的JPS都是可看到进程的,但是在管理页面上却是0个Nodedata
基本配置如下:
1.core-site.xml
- <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.146.130:9000</value>
- </property>
- </configuration>
复制代码
2.hdfs-site.xml- <configuration>
- <property>
- <name>dfs.replication</name>
- <value>2</value>
- </property>
- </configuration>
复制代码
3.mapred-site.xml- <configuration>
- <property>
- <name>mapred.job.tracker</name>
- <value>http://192.168.146.130:9001</value>
- </property>
- </configuration>
复制代码
管理界面请看上传的图片:- SafeMode: ON - HDFS unavailable
- Nodes:0
复制代码
http://bbs.ibeifeng.com/read-htm-tid-66067.html
|