[ https://issues.apache.org/jira/browse/HADOOP-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848219#action_12848219 ]
Mahadev konar commented on HADOOP-6645: --------------------------------------- good catch rodrigo. Sorry just skimmed through the description and thats why the stupid question above! :) +1 for the patch. > 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.