You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2012/08/08 01:21:10 UTC

[jira] [Updated] (HADOOP-8649) ChecksumFileSystem should have an overriding implementation of listStatus(Path, PathFilter) for improved performance

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

Karthik Kambatla updated HADOOP-8649:
-------------------------------------

    Description: 
Currently, ChecksumFileSystem implements only listStatus(Path). 

The other form of listStatus(Path, customFilter) results in parsing the list twice to apply each of the filters - custom and checksum filter.

By using a composite filter instead, we limit the parsing to once.

  was:
Currently, ChecksumFileSystem implements only listStatus(Path). The other form of listStatus(Path, PathFilter) is implemented by parent class FileSystem, and hence doesn't filter out check-sum files.

The implementation should use a composite filter of passed Filter and the Checksum filter.

     Issue Type: Improvement  (was: Bug)
        Summary: ChecksumFileSystem should have an overriding implementation of listStatus(Path, PathFilter) for improved performance  (was: ChecksumFileSystem should have an overriding implementation of listStatus(Path, PathFilter))
    
> ChecksumFileSystem should have an overriding implementation of listStatus(Path, PathFilter) for improved performance
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8649
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8649
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: HADOOP-8649_branch1.patch, HADOOP-8649_branch1.patch_v2, HADOOP-8649_branch1.patch_v3, TestChecksumFileSystemOnDFS.java
>
>
> Currently, ChecksumFileSystem implements only listStatus(Path). 
> The other form of listStatus(Path, customFilter) results in parsing the list twice to apply each of the filters - custom and checksum filter.
> By using a composite filter instead, we limit the parsing to once.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira