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 "Rodrigo Schmidt (JIRA)" <ji...@apache.org> on 2010/03/19 10:03:27 UTC

[jira] Updated: (HADOOP-6645) Bugs on listStatus for HarFileSystem

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

Rodrigo Schmidt updated HADOOP-6645:
------------------------------------

    Status: Patch Available  (was: Open)

Unfortunately the unit tests for HarFileSystem must be inside MAPREDUCE, since that is where HadoopArchives (the archive creation tool) resides.

> 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
>
>         Attachments: HADOOP-6645.patch
>
>
> 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.