hduser@cml-K45VD:~/hadoop/hadoop-1.2.1/conf$ start-all.sh
Warning: $HADOOP_HOME is deprecated.
starting namenode, logging to /home/hduser/hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hduser-namenode-cml-K45VD.out
localhost: starting datanode, logging to /home/hduser/hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hduser-datanode-cml-K45VD.out
localhost: starting secondarynamenode, logging to /home/hduser/hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hduser-secondarynamenode-cml-K45VD.out
starting jobtracker, logging to /home/hduser/hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hduser-jobtracker-cml-K45VD.out
localhost: starting tasktracker, logging to /home/hduser/hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hduser-tasktracker-cml-K45VD.out
hduser@cml-K45VD:~/hadoop/hadoop-1.2.1/conf$ jps
30928 Jps
hduser@cml-K45VD:~/hadoop/hadoop-1.2.1/conf$
jps命令查看进程状态。如果有以下的进程,,然后在浏览器访问:http://localhost:50030 (mapreduce页面) 和http://localhost:50070 (hdfs页面)。如果访问成功,则说明hadoop起来了。