我完全按照hadoop官方网站上的步骤操作,但它总是显示以下错误:
starting namenode, logging to /home/videni/Tools/hadoop-1.0.3/libexec/../logs/hadoop-videni-namenode-videni-Latitude-E6400.out
cat: /usr/lib/hadoop-0.20.2/conf/slaves: No such file or directory
cat: /usr/lib/hadoop-0.20.2/conf/masters: No such file or directory
starting jobtracker, logging to /home/videni/Tools/hadoop-1.0.3/libexec/../logs/hadoop-videni-jobtracker-videni-Latitude-E6400.out
cat: /usr/lib/hadoop-0.20.2/conf/slaves: No such file or directory
现在只想设置一个Standalone Operation,是不是要设置core-site.xml、hdfs-site.xml、mapred-site.xml这三个xml文件?
我检查了日志文件,其中一些说Error: JAVA_HOME is not set
,但我将它设置在 hadoop-env.sh 文件中。