常用命令记录下

hadoop namenode -format

start-all.sh

hadoop dfs -mkdir input

hadoop fs -ls

hadoop dfs -rmr output/

hadoop dfs -copyFromLocal ./conf/* input/

hadoop jar hadoop-0.20.2-examples.jar wordcount input output

hadoop fs -ls output

hadoop fs cat output/partxxxx

hadoop jar inception.jar com.alibaba.hadoop.task.OfferTask offer output

hadoop job -list

hadoop job -status job_id

bin/hadoop dfs -chmod 777 /user/Administrator

hadoop查看:

web方式:

    DHFS:http://localhost:50070 

    JobTracker :http://localhost:50030 

hbase: http://10.20.156.47:60010/master.jsp

你可能感兴趣的:(hadoop,jsp,Web,hbase)