diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-07-23 14:15:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 14:15:27 +0800 |
| commit | 437d18705dea48d78c066d526c14c8abcdb1405f (patch) | |
| tree | 1e69bb7f70e1b6f44369d5b4122957f17edd8d64 /other/java/hdfs3/src | |
| parent | 6ea4ce722704171fdbddba61f423202a620b6ecf (diff) | |
| parent | 6f058b379194da34a57c5cfac6bd49effbd08b49 (diff) | |
| download | seaweedfs-437d18705dea48d78c066d526c14c8abcdb1405f.tar.xz seaweedfs-437d18705dea48d78c066d526c14c8abcdb1405f.zip | |
Merge pull request #4 from chrislusf/master
sync
Diffstat (limited to 'other/java/hdfs3/src')
| -rw-r--r-- | other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedOutputStream.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedOutputStream.java b/other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedOutputStream.java index 05805b9e5..37068c73a 100644 --- a/other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedOutputStream.java +++ b/other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedOutputStream.java @@ -234,7 +234,6 @@ public class SeaweedOutputStream extends OutputStream implements Syncable, Strea // System.out.println(path + " is going to save [" + (writePosition) + "," + ((writePosition) + bytesLength) + ")"); SeaweedWrite.writeData(entry, replication, filerGrpcClient, writePosition, bufferToWrite.array(), bufferToWrite.position(), bufferToWrite.limit()); // System.out.println(path + " saved [" + (writePosition) + "," + ((writePosition) + bytesLength) + ")"); - bufferToWrite.clear(); ByteBufferPool.release(bufferToWrite); return null; }); |
