[
https://issues.apache.org/jira/browse/HDFS-5355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826094#comment-13826094
]
haosdent commented on HDFS-5355:
--------------------------------
[~andrewwakeling] The metrics of hflush and hsync looks inconsistent.... I
think if we don't fix the metrics of hsync, we should update the metrics of
hflush. When the datanode receive a packet, the hsync metrics add twice while
the hflush metrics add one seems unreasonable.
> Hsync Metrics error
> -------------------
>
> Key: HDFS-5355
> URL: https://issues.apache.org/jira/browse/HDFS-5355
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 3.0.0, 2.2.0
> Reporter: haosdent
> Priority: Minor
> Attachments: HDFS-5355.patch
>
>
> The authors before comment "Expect two syncs, one from the hsync, one on
> close" in TestDataNodeMetrics.java. In fact there isn't call sync when close.
> One hsync call would produce two syncs, one for checksum and the other for
> block. I modify relate code and make it looks like the hflush metrics.
--
This message was sent by Atlassian JIRA
(v6.1#6144)