HADOOP-10440. HarFsInputStream.read(byte[]) updates position incorrectly. Contributed by guodongdong
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1581964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a206399afd
commit
3d207f1db2
|
@ -454,6 +454,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