【发布时间】:2014-06-01 05:52:28
【问题描述】:
在我的 hadoop 安装中,我没有找到 mapred-site.xml 文件,但它有 mapred-site.xml.template。
我在 mapred.xml.template 中添加了以下属性
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>
我错过了什么吗?
core-site.xml
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
hdfs-site.xml
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
使用这些配置:
http://localhost:50070/ : Running
http://localhost:50060/ : Not Running
http://localhost:50030/ : Not Running
【问题讨论】:
-
您是否也启动了 mapreduce “start-mapred.sh”....您在日志中看到的错误是什么。
-
什么版本的hadoop? This question 可能会有所帮助。
-
Hadoop 2.4.0 并开始使用 start-all.sh