hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Isaacson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3913) Refactor DataBlockScanner and clean up tests
Date Mon, 10 Sep 2012 21:03:07 GMT
Andy Isaacson created HDFS-3913:

             Summary: Refactor DataBlockScanner and clean up tests
                 Key: HDFS-3913
                 URL: https://issues.apache.org/jira/browse/HDFS-3913
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.1-alpha
            Reporter: Andy Isaacson
            Priority: Minor

In HDFS-3828 Eli observed
bq. In getTotalScans rather than throw IOE if given a bpid w/o a scanner I believe this should
be an assert (we should always have a scanner for a block pool if we've enbabled scanning,
which we have if we're in DataBlockScanner)
and Andy suggested
bq. we could propagate a "please wake me up at time T" up from BlockPoolSliceScanner to DataBlockScanner#run
and adjust the sleep time there, accordingly. If all threadpools continue to have work to
do, then preserve the existing 5-second sleep; if all threadpools are done working then DataBlockScanner
could go to sleep for much longer.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message