进入hadoop目录
cd /application/search/hadoop-0.20.2-cdh3u0/bin
显示刘伟民文件夹的内容
./hadoop fs -ls /tmp/lwm
//执行统计程序
./hadoop jar /application/search/lwm/hadoop/queryProcessorStatisticsFacade.jar main.queryProcessorStatisticsFacade
复制文件
scp alllogs 10.10.32.12:/application/search/lwm/hadoop/
删除输入文件夹
./hadoop fs -rmr /tmp/lwm/inputFolder
删除输出文件夹
./hadoop fs -rmr /tmp/lwm/outputFolder
加载输入文件到HDFS
./hadoop fs -put /application/search/lwm/hadoop/inputFolder/ /tmp/lwm/
获取输出结果到本机系统
./hadoop fs -get /tmp/lwm/outputFolder /application/search/lwm/hadoop
查看hadoop的job信息
./hadoop job -list
cd /application/search/hadoop-0.20.2-cdh3u0/bin
显示刘伟民文件夹的内容
./hadoop fs -ls /tmp/lwm
//执行统计程序
./hadoop jar /application/search/lwm/hadoop/queryProcessorStatisticsFacade.jar main.queryProcessorStatisticsFacade
复制文件
scp alllogs 10.10.32.12:/application/search/lwm/hadoop/
删除输入文件夹
./hadoop fs -rmr /tmp/lwm/inputFolder
删除输出文件夹
./hadoop fs -rmr /tmp/lwm/outputFolder
加载输入文件到HDFS
./hadoop fs -put /application/search/lwm/hadoop/inputFolder/ /tmp/lwm/
获取输出结果到本机系统
./hadoop fs -get /tmp/lwm/outputFolder /application/search/lwm/hadoop
查看hadoop的job信息
./hadoop job -list