hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5341) Reduce fsdataset lock duration during directory scanning.
Date Thu, 24 Oct 2013 13:19:16 GMT

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

Hudson commented on HDFS-5341:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1562 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1562/])
HDFS-5341. Reduce fsdataset lock duration during directory scanning. Contributed by Qus-Jiawei.
(kihwal: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1535188)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java


> Reduce fsdataset lock duration during directory scanning.
> ---------------------------------------------------------
>
>                 Key: HDFS-5341
>                 URL: https://issues.apache.org/jira/browse/HDFS-5341
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: qus-jiawei
>            Assignee: qus-jiawei
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HDFS-5341.000.patch, HDFS-5341.001.patch, HDFS-5341.002.patch, HDFS-5341.003.patch,
HDFS-5341.004.patch
>
>
> When DirectoryScanner doing the scan function, it holding the dataset to diff the block
info between memory and disk.But it do a lot of disk operation because it call the file's
getlength funciton.
> Once the dataset is locked,heartbeat thread and all DataXceiver thread would be blocked.
> So,such disk operation should move to the async disk scan



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message