[ https://issues.apache.org/jira/browse/HADOOP-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848221#action_12848221 ]
Mahadev konar commented on HADOOP-6645: --------------------------------------- also, are you adding test case to MAPREDUCE-1585 ? It would be good to have a good test case for the above! > 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.