文件系统(FS)的shell命令bin/hdfs dfs 对文件进行操作

说明:所有的FS的shell命令都是以url作为参数。格式:
URI格式是scheme://authority/path。HDFS的scheme是hdfs,对本地文件系统,scheme是file。其中scheme和authority参数都是可选的,如果未加指定,就会使用配置中指定的默认scheme。
HDFS文件管理命令 bin/hdfs -dfsadmin

-report 举例 查看集群现状

说明:其实它和我们用网页看的文件系统是一样的。
http://hadoop-senior.beifeng.com:50070

网友评论