hdfs-site.xml
<configuration>
<property>
<name>dfs.data.dir</name>
<value>/hadoop/data</value>
</property>
</configuration>
mapred-site.xml
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>
<configuration>
<property>
<name>dfs.data.dir</name>
<value>/hadoop/data</value>
</property>
</configuration>
mapred-site.xml
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>
2016-01-21
<!-- core-site.xml -->
<property>
<name>hadoop.tmp.dir</name>
<value>/hadoop</value>
</property>
<property>
<name>dfs.name.dir</name>
<value>/hadoop/name</value>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/hadoop</value>
</property>
<property>
<name>dfs.name.dir</name>
<value>/hadoop/name</value>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
2016-01-21
http://mirror.bit.edu.cn/apache/hadoop/common/hadoop-2.7.1/hadoop-2.7.1.tar.gz
2016-01-21
最新回答 / rainbow702
你是不是JobTracker之類的進程沒顯示?如果是的話,建議你去看看"/opt/hadoop-1.2.1/logs"目錄中,“namenode”相關的日志log,看看log里有沒有下面這樣的錯誤信息:2016-01-09 15:29:12,036 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.net.BindException: Problem binding to imooc/183.207.232.253:9000 : 無法指...
2016-01-10
最新回答 / 歷史與足跡
jps命令查看進程狀態。如果有以下的進程,<...圖片...>,然后在瀏覽器訪問:http://localhost:50030?(mapreduce頁面) 和http://localhost:50070?(hdfs頁面)。如果訪問成功,則說明hadoop起來了。
2016-01-10