[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
/
/hbase
/hbase/.tmp
/hbase/MasterProcWALs
/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
/hbase/WALs/slaver1,16020,1734118949891
/hbase/WALs/slaver2,16020,1734117915708
/hbase/WALs/slaver2,16020,1734118637911
/hbase/WALs/slaver2,16020,1734118949912
/hbase/data
/hbase/data/default
/hbase/data/hbase
/hbase/data/hbase/meta
/hbase/data/hbase/meta/.tabledesc
/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
/hbase/data/hbase/meta/1588230740
/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
/hbase/data/hbase/meta/1588230740/info
/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
/hbase/data/hbase/meta/1588230740/recovered.edits/27.seqid 0 bytes, 0 block(s): OK
/hbase/data/hbase/namespace
/hbase/data/hbase/namespace/.tabledesc
/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
/hbase/data/hbase/namespace/2d1f8e1247ff85efd2a890036076f294
/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
/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
/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
/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
/tmp/hive
/tmp/hive/root
/user
/user/hive
/user/hive/warehouse
/user/hive/warehouse/sample.db
/user/hive/warehouse/sample.db/student
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