Description
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()
Attachments
Attachments
Issue Links
- blocks
-
MAPREDUCE-1585 Create Hadoop Archives version 2 with filenames URL-encoded
- Closed
- depends upon
-
HADOOP-6591 HarFileSystem cannot handle paths with the space character
- Closed
- is related to
-
MAPREDUCE-1632 TestHadoopArchives fails on trunk
- Resolved