hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8617) Throttle DiskChecker#checkDirs() speed.
Date Wed, 17 Jun 2015 21:15:00 GMT

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

Lei (Eddy) Xu updated HDFS-8617:
--------------------------------
    Attachment: HDFS-8617.000.patch

This patch does 2 things:

* Limits checkDirs() calls to 50 calls per second
* There is not another checkDirs() running in 30 minutes after the previous {{checkDirs()}}
finished.

> Throttle DiskChecker#checkDirs() speed.
> ---------------------------------------
>
>                 Key: HDFS-8617
>                 URL: https://issues.apache.org/jira/browse/HDFS-8617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: HDFS
>    Affects Versions: 2.7.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-8617.000.patch
>
>
> As described in HDFS-8564,  {{DiskChecker.checkDirs(finalizedDir)}} is causing excessive
I/Os because {{finalizedDirs}} might have up to 64K sub-directories (HDFS-6482).
> This patch proposes to limit the rate of IO operations in {{DiskChecker.checkDirs()}}.




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

Mime
View raw message