HADOOP-6645. Re: Bugs on listStatus for HarFileSystem (rodrigo via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@927134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35de12b8ed
commit
e381af1e1e
@ -295,6 +295,9 @@ Trunk (unreleased changes)
|
||||
|
||||
HADOOP-6645. Bugs on listStatus for HarFileSystem (rodrigo via mahadev)
|
||||
|
||||
HADOOP-6645. Re: Bugs on listStatus for HarFileSystem (rodrigo via
|
||||
mahadev)
|
||||
|
||||
Release 0.21.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -409,7 +409,10 @@ private void fileStatusesInIndex(HarStatus parent, List<FileStatus> statuses,
|
||||
LineReader aLin;
|
||||
long read = 0;
|
||||
aLin = new LineReader(aIn, getConf());
|
||||
String parentString = parent.getName() + Path.SEPARATOR;
|
||||
String parentString = parent.getName();
|
||||
if (!parentString.endsWith(Path.SEPARATOR)){
|
||||
parentString += Path.SEPARATOR;
|
||||
}
|
||||
Path harPath = new Path(parentString);
|
||||
int harlen = harPath.depth();
|
||||
Text line = new Text();
|
||||
|
Loading…
Reference in New Issue
Block a user