分享

【问】运行hadoop fsck / 后显示信息所表达的含义?

datong838 发表于 2013-10-25 10:46:06 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 8711
运行bin/hadoop fsck / 后显示如下结果:
....................................................................................................
....................................Status: HEALTHY
Total size:    1554981215166 B
Total dirs:    2545
Total files:   75036
Total blocks (validated):      65681 (avg. block size 23674749 B)

[color=]Minimally replicated blocks:   65681 (100.0 %)
[color=] Over-replicated blocks:        63881 (97.25948 %)
[color=] Under-replicated blocks:       0 (0.0 %)
[color=] Mis-replicated blocks:         0 (0.0 %)
Default replication factor:    3
Average block replication:     2.9725947
Corrupt blocks:                0
Missing replicas:              0 (0.0 %)
Number of data-nodes:          6
Number of racks:               1
The filesystem under path '/' is HEALTHY
请问 红色部分字体表达的含义是什么吗?

已有(2)人评论

跳转到指定楼层
dgxl 发表于 2013-10-25 10:46:06

[color=]Ravi Phulari
Minimally replicated blocks
:   51224 (100.0 %)
These are the minimally replicated block , you can set minimum block replication factor in hdfs-site.xml .  If there are any blocks which are not minimally replicated then NN will try to replicate them.
Over-replicated blocks:        0 (0.0 %)
These are the excessive replicated block. Over-replicated blocks are harmless and could have been created due to running Balancer.
Under-replicated blocks:       0 (0.0 %)
Blocks which are under-replicated than min
Mis-replicated blocks:         7 (0.013665469 %)
blocks that do not satisfy block placement policy
Default replication factor:    3
Default block replication factor set using
dfs.replication
3
Average block replication:     3.0
Average BR
Missing replicas:              0 (0.0 %)
If there are any missing block replicas then that count is listed here.
Number of data-nodes:          83
Number of data nodes in your cluster
Number of racks:               6
Number of Racks in your cluster
You can configure your block replications by using following config settings in hdfs-site.xml
dfs.replication
3
Default block replication.
  The actual number of replications can be specified when the file is created.
  The default is used if replication is not specified in create time.
  
dfs.replication.max
512
Maximal block replication.
  
dfs.replication.min
1
Minimal block replication.
  
回复

使用道具 举报

yuanqingyu0123 发表于 2013-10-25 10:46:06
Suresh Srinivas
Minimally replicated blocks:   51224 (100.0 %)
// Number of blocks with number of replicas >= minimum number of replicas configured in "dfs.namenode.replication.min"
Over-replicated blocks:        0 (0.0 %)
// Number of blocks that have more replicas than the replication factor of the file
Under-replicated blocks:       0 (0.0 %)
// Number of blocks that have less replicas than the replication factor of the file
Mis-replicated blocks:         7 (0.013665469 %)
// Blocks with replicas that does not satisfy topology rules. For example instead of 2 replicas in 1 rack and 1 replica in a separate block, all replicas ended up on the same rack.
Default replication factor:    3
// Default replication factor used by the system
Average block replication:     3.0
// Average replicas per block
Missing replicas:              0 (0.0 %)
// Blocks with all the replicas missing
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条