[ 
https://issues.apache.org/jira/browse/HDFS-10612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376229#comment-15376229
 ] 

Yuanbo Liu commented on HDFS-10612:
-----------------------------------

Block report size is difficult to calculate, for the block number and block 
report size are not in linear relationship if datanode use blockbuffer. And it 
will bring performance loss to calculate report size when we write block. 
The least we can do is to add warn log, make block report size as a metric and 
add this metric to datanode web ui.

> Optimize mechanism when block report size exceed the limit of PB message
> ------------------------------------------------------------------------
>
>                 Key: HDFS-10612
>                 URL: https://issues.apache.org/jira/browse/HDFS-10612
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Yuanbo Liu
>
> Community has made block report size configurable in HDFS-10312. But there is 
> still a risk for Hadoop. If block report size exceeds PB message size, the 
> cluster may be in a danger situation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to