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] [Updated] (HDFS-10682) Replace FsDatasetImpl object lock with a separate lock object
Date Tue, 02 Aug 2016 00:51:20 GMT

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

Arpit Agarwal updated HDFS-10682:
---------------------------------
    Description: 
This Jira proposes to replace the FsDatasetImpl object lock with a separate lock object. Doing
so will allow us to measure lock statistics.

In the future we can also consider replacing the lock with a read-write lock.

  was:Add a metric to measure the time the lock of FSDataSetImpl is held by a thread. The
goal is to expose this for users to identify operations that locks dataset for long time ("long"
in some sense) and be able to understand/reason/track the operation based on logs.


> Replace FsDatasetImpl object lock with a separate lock object
> -------------------------------------------------------------
>
>                 Key: HDFS-10682
>                 URL: https://issues.apache.org/jira/browse/HDFS-10682
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>         Attachments: HDFS-10682.001.patch, HDFS-10682.002.patch, HDFS-10682.003.patch,
HDFS-10682.004.patch, HDFS-10682.005.patch, HDFS-10682.006.patch
>
>
> This Jira proposes to replace the FsDatasetImpl object lock with a separate lock object.
Doing so will allow us to measure lock statistics.
> In the future we can also consider replacing the lock with a read-write lock.



--
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