hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6645) Bugs on listStatus for HarFileSystem
Date Fri, 19 Mar 2010 08:59:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847284#action_12847284
] 

Rodrigo Schmidt commented on HADOOP-6645:
-----------------------------------------

The second bug is my fault. My patch for HADOOP-6591 was based on a patch for a version of
hadoop 0.20 that didn't have fileStatusesIndex(). It doesn't break anything because we haven't
committed the patch that generates the v2 files. However, it does prevent that patch from
passing the unit tests.

> Bugs on listStatus for HarFileSystem
> ------------------------------------
>
>                 Key: HADOOP-6645
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6645
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Rodrigo Schmidt
>            Assignee: Rodrigo Schmidt
>             Fix For: 0.22.0
>
>
> Two bugs on listStatus for HarFileSystem:
> 1) consider the following directory tree inside a hadoop archive
> /foo
> /foo/bar1
> /fooo
> /fooo/bar2
> In this case, listStatus(new Path("/foo")) will include /fooo/bar2 because fileStatusesInIndex
is testing  a prefix.
> 2) HADOOP-6591 didn't take into consideration method fileStatusesInIndex(), and archives
v2 return empty results for listStatus()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message