hadoop--命令--hdfs fsck / -files -blocks--显示块信息

[root@master ~]# hdfs fsck / -files -blocks
Connecting to namenode via http://master:50070/fsck?ugi=root&files=1&blocks=1&path=%2F
FSCK started by root (auth:SIMPLE) from /192.168.94.128 for path / at Sat Jan 18 18:24:09 CST 2025
/ <dir>
/hbase <dir>
/hbase/.tmp <dir>
/hbase/MasterProcWALs <dir>
/hbase/MasterProcWALs/state-00000000000000000003.log 30 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741838_1014 len=30 repl=3

/hbase/MasterProcWALs/state-00000000000000000004.log 30 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741842_1018 len=30 repl=3

/hbase/MasterProcWALs/state-00000000000000000005.log 30 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741847_1023 len=30 repl=3

/hbase/WALs <dir>
/hbase/WALs/slaver1,16020,1734118949891 <dir>
/hbase/WALs/slaver2,16020,1734117915708 <dir>
/hbase/WALs/slaver2,16020,1734118637911 <dir>
/hbase/WALs/slaver2,16020,1734118949912 <dir>
/hbase/data <dir>
/hbase/data/default <dir>
/hbase/data/hbase <dir>
/hbase/data/hbase/meta <dir>
/hbase/data/hbase/meta/.tabledesc <dir>
/hbase/data/hbase/meta/.tabledesc/.tableinfo.0000000001 372 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741828_1004 len=372 repl=3

/hbase/data/hbase/meta/.tmp <dir>
/hbase/data/hbase/meta/1588230740 <dir>
/hbase/data/hbase/meta/1588230740/.regioninfo 32 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741827_1003 len=32 repl=3

/hbase/data/hbase/meta/1588230740/.tmp <dir>
/hbase/data/hbase/meta/1588230740/info <dir>
/hbase/data/hbase/meta/1588230740/info/0bf6abc899224c318f0f47c0c69ea506 5254 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741837_1013 len=5254 repl=3

/hbase/data/hbase/meta/1588230740/info/be02aa99f79a40449b73f40da0f56d2a 5120 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741848_1024 len=5120 repl=3

/hbase/data/hbase/meta/1588230740/info/fc629fdb01c349e79106cc3d450e6989 5120 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741843_1019 len=5120 repl=3

/hbase/data/hbase/meta/1588230740/recovered.edits <dir>
/hbase/data/hbase/meta/1588230740/recovered.edits/27.seqid 0 bytes, 0 block(s):  OK

/hbase/data/hbase/namespace <dir>
/hbase/data/hbase/namespace/.tabledesc <dir>
/hbase/data/hbase/namespace/.tabledesc/.tableinfo.0000000001 312 bytes, 1 block(s):  Under replicated BP-1058257924-192.168.94.128-1734097603563:blk_1073741834_1010. Target Replicas is 3 but found 1 replica(s).
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741834_1010 len=312 repl=1

/hbase/data/hbase/namespace/.tmp <dir>
/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294 <dir>
/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294/.regioninfo 42 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741835_1011 len=42 repl=3

/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294/info <dir>
/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294/info/4a087aacf591442fa771ce86bb21f14e 4963 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741836_1012 len=4963 repl=3

/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294/recovered.edits <dir>
/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294/recovered.edits/16.seqid 0 bytes, 0 block(s):  OK

/hbase/hbase.id 42 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741826_1002 len=42 repl=3

/hbase/hbase.version 7 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741825_1001 len=7 repl=3

/hbase/oldWALs <dir>
/hbase/oldWALs/slaver1%2C16020%2C1734118637964..meta.1734118645668.meta 1153 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741841_1017 len=1153 repl=3

/hbase/oldWALs/slaver1%2C16020%2C1734118637964.default.1734118643950 671 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741839_1015 len=671 repl=3

/hbase/oldWALs/slaver1%2C16020%2C1734118949891..meta.1734118956040.meta 1187 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741846_1022 len=1187 repl=3

/hbase/oldWALs/slaver1%2C16020%2C1734118949891.default.1734118951723 671 bytes, 1 block(s):  Under replicated BP-1058257924-192.168.94.128-1734097603563:blk_1073741844_1020. Target Replicas is 3 but found 1 replica(s).
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741844_1020 len=671 repl=1

/hbase/oldWALs/slaver2%2C16020%2C1734118637911.default.1734118643940 91 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741840_1016 len=91 repl=3

/hbase/oldWALs/slaver2%2C16020%2C1734118949912.default.1734118951755 91 bytes, 1 block(s):  OK
0. BP-1058257924-192.168.94.128-1734097603563:blk_1073741845_1021 len=91 repl=3

/tmp <dir>
/tmp/hive <dir>
/tmp/hive/root <dir>
/user <dir>
/user/hive <dir>
/user/hive/warehouse <dir>
/user/hive/warehouse/sample.db <dir>
/user/hive/warehouse/sample.db/student <dir>
Status: HEALTHY
 Total size:    25218 B
 Total dirs:    34
 Total files:   21
 Total symlinks:                0
 Total blocks (validated):      19 (avg. block size 1327 B)
 Minimally replicated blocks:   19 (100.0 %)
 Over-replicated blocks:        0 (0.0 %)
 Under-replicated blocks:       2 (10.526316 %)
 Mis-replicated blocks:         0 (0.0 %)
 Default replication factor:    3
 Average block replication:     2.7894738
 Corrupt blocks:                0
 Missing replicas:              4 (7.017544 %)
 Number of data-nodes:          3
 Number of racks:               1
FSCK ended at Sat Jan 18 18:24:09 CST 2025 in 18 milliseconds


The filesystem under path '/' is HEALTHY
posted @   基础狗  阅读(3)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示