[ https://issues.apache.org/jira/browse/HADOOP-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847691#action_12847691 ]
Rodrigo Schmidt commented on HADOOP-6645: ----------------------------------------- Mahadev, Nicholas, can one of you take a quick look at this patch? It's a simple one and I've already tested it with TestHarFileSystem. > 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.