hadoop2.6查询hdfs数据的详细信息
作者:互联网
[dip@dip001 ~]$ hdfs fsck /test/test.txt Connecting to namenode via http://dip001:50070 FSCK started by dip (auth:SIMPLE) from /172.21.25.127 for path /test/test.txt at Wed Nov 28 10:05:24 CST 2018 #健康状态
.Status: HEALTHY
#总的大小
Total size: 1431 B
Total dirs: 0 Total files: 1 Total symlinks: 0 Total blocks (validated): 1 (avg. block size 1431 B) Minimally replicated blocks: 1 (100.0 %) Over-replicated blocks: 0 (0.0 %) Under-replicated blocks: 0 (0.0 %) Mis-replicated blocks: 0 (0.0 %) Default replication factor: 3 Average block replication: 3.0 Corrupt blocks: 0 Missing replicas: 0 (0.0 %) Number of data-nodes: 3 Number of racks: 1 FSCK ended at Wed Nov 28 10:05:24 CST 2018 in 1 milliseconds The filesystem under path '/test/test.txt is HEALTHY
标签:hdfs,txt,blocks,0.0,test,replicated,hadoop2.6,Total,详细信息 来源: https://www.cnblogs.com/students/p/10030471.html