hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-10958) Add instrumentation hooks around Datanode disk IO
Date Wed, 14 Dec 2016 19:23:58 GMT

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

Arpit Agarwal edited comment on HDFS-10958 at 12/14/16 7:23 PM:
----------------------------------------------------------------

Attached a patch to factor out most of the DataNode file IO dependencies into a FileIoProvider
class for easier testing/instrumentation. IO can be hooked by implementing the new {{FileIoEvents}}
interface. The default hooks do nothing. A couple of classes don't use FileIoProvider yet
(DataStorage and BlockPoolSliceStorage).

The patch aims to introduce no behavioral changes. Thanks to [~xyao] for reviewing an early
iteration of this large patch.


was (Author: arpitagarwal):
Attached a patch to factor out most of the DataNode file IO dependencies into a FileIoProvider
class for easier testing/instrumentation. IO be hooked by implementing the new {{FileIoEvents}}
interface. The default hooks do nothing. A couple of classes don't use FileIoProvider yet
(DataStorage and BlockPoolSliceStorage).

The patch aims to introduce no behavioral changes. Thanks to [~xyao] for reviewing an early
iteration of this large patch.

> Add instrumentation hooks around Datanode disk IO
> -------------------------------------------------
>
>                 Key: HDFS-10958
>                 URL: https://issues.apache.org/jira/browse/HDFS-10958
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Xiaoyu Yao
>            Assignee: Arpit Agarwal
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HDFS-10958.01.patch, HDFS-10958.02.patch, HDFS-10958.03.patch, HDFS-10958.04.patch,
HDFS-10958.05.patch, HDFS-10958.06.patch
>
>
> This ticket is opened to add instrumentation hooks around Datanode disk IO based on refactor
work from HDFS-10930.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message