You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/12/19 01:17:46 UTC
[jira] [Commented] (HDFS-9577) ReadStatistics not thread safe when
hedged read is enabled
[ https://issues.apache.org/jira/browse/HDFS-9577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065036#comment-15065036 ]
Kai Zheng commented on HDFS-9577:
---------------------------------
In HDFS-8905 there is a refactoring for {{ReadStatistics}} to make it separated out and thread safe. Looks like this is a good rational. Thanks.
> ReadStatistics not thread safe when hedged read is enabled
> ----------------------------------------------------------
>
> Key: HDFS-9577
> URL: https://issues.apache.org/jira/browse/HDFS-9577
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ming Ma
>
> When hedged read is enabled, the actual read will be called on the hedged thread pool which will also call {{updateReadStatistics}}. However, it seems {{ReadStatistics}} doesn't use atomic types for its metrics. [~xieliang007], can you please confirm?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)