hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9319) Make DatanodeInfo thread safe
Date Tue, 27 Oct 2015 22:44:27 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jing Zhao updated HDFS-9319:
    Attachment: HDFS-9319.000.patch

Upload initial patch for review. The patch groups all the stats that can be updated by the
heartbeat msg into a new DatanodeState instance, and make all the fields inside read-only.
To update the stats the whole DatanodeState instance will be replaced. Also the current semantic
does not guarantee the reader can always get the latest stats of a DatanodeInfo.

> Make DatanodeInfo thread safe
> -----------------------------
>                 Key: HDFS-9319
>                 URL: https://issues.apache.org/jira/browse/HDFS-9319
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-9319.000.patch
> This jira plans to make DatanodeInfo's internal states independent of external locks.
Note because DatanodeInfo extends DatanodeID, we still need to change DatanodeID as a follow-on

This message was sent by Atlassian JIRA

View raw message