svn merge -c 1581964 from trunk for HADOOP-10440. HarFsInputStream.read(byte[]) updates position incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1581965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e034eb46d8
commit
3e9e036099
|
@ -153,6 +153,9 @@ Release 2.4.0 - UNRELEASED
|
|||
HADOOP-10425. LocalFileSystem.getContentSummary should not count crc files.
|
||||
(szetszwo)
|
||||
|
||||
HADOOP-10440. HarFsInputStream.read(byte[]) updates position incorrectly.
|
||||
(guodongdong via szetszwo)
|
||||
|
||||
BREAKDOWN OF HADOOP-10184 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HADOOP-10185. FileSystem API for ACLs. (cnauroth)
|
||||
|
|
|
@ -963,9 +963,6 @@ public class HarFileSystem extends FileSystem {
|
|||
@Override
|
||||
public synchronized int read(byte[] b) throws IOException {
|
||||
final int ret = read(b, 0, b.length);
|
||||
if (ret > 0) {
|
||||
position += ret;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue