查看hadoop施行输出结果

查看hadoop执行输出结果命令: bin/hadoop fs -cat /user/hrjackey/hr/output/part-00000 查看指定目录结构

查看hadoop执行输出结果
命令: bin/hadoop fs -cat /user/hrjackey/hr/output/part-00000

查看指定目录结构
bin/hadoop fs -ls /user/hrjackey/hr/output/

如何把hdfs的目录同步到本地呢?

执行如下命令:
bin/hadoop fs -copyToLocal /user/hrjackey/hr/output e:/


查看hdfs系统上支持的命令
bin/hadoop fs -help

大部分类似linux下的指令