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 Wed, 24 Mar 2010 01:20:27 GMT

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

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

Yes, they passed for me.

It's a bit tricky to test things from a different hadoop-common jar, though. For ant to take
the right file I had to run "ant mvn-install" on my hadoop-common install. Thencleared the
jar inside ~/ivy2/cache/... (this is very important), went to my hadoop-mapreduce install
and ran "ant test -Dresolvers=internal -Dtestcase=TestHadoopArchives".

Did you do all that too?

> 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.hotfix.patch, 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.


Mime
View raw message