JPS時進程不正常,
root@11:/opt/hadoop-1.2.1/bin# jps
10468 JobTracker
12393 Jps
并非視頻中那些進程,看其他同學的問答后檢查了自己的配置文件,但是并不知道具體問題。請老師講解一下可能出錯的地方
以及?
root@11:/opt/hadoop-1.2.1/bin# hadoop fs -ls /
Warning: $HADOOP_HOME is deprecated.
15/07/05 02:21:29 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/07/05 02:21:30 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/07/05 02:21:31 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
^Croot@11:/opt/hadoop-1.2.1/bin# ^C
2015-07-08
配置文件出錯了??赡艿膯栴},可能是配錯了主機名和目錄。視頻里用的是imooc和目錄,需要替換成你實際的主機名和目錄。
2015-07-22
我在jps后,Datanode一直沒有運行。把hdfs-site.xml的value改為/hadoop/dfs/data就好了(視頻里為/hadoop/data)。小伙伴們可以試試