hadoop常用的命令
hdfs dfs -mkdir -p /user/wang/hadoop 递归创建目录
hdfs dfs -ls /user 查看/user下内容
hdfs dfs -ls -R /user 递归查看
hdfs dfs -help put
hdfs dfs -put index.html /user/centos/hadoop上传 index.html到hadoop上
查看
hdfs dfs -lsr
下载到本地
hdfs dfs -get /user/centos/index.html /home/wang/download
删除
hdfs dfs -rm -r -f /user/centos/hadoop
hadoop fs = hdfs dfs