rickyma commented on code in PR #2320:
URL:
https://github.com/apache/incubator-uniffle/pull/2320#discussion_r1903605934
##########
storage/src/main/java/org/apache/uniffle/storage/handler/impl/LocalFileNioWriter.java:
##########
@@ -61,7 +66,12 @@ public void writeData(ByteBuf buf) throws IOException {
@Override
public void writeIndex(FileBasedShuffleSegment segment) throws IOException {
- throw new UnsupportedOperationException("LocalFileNioWriter does not
support index");
+ dataOutputStream.writeLong(segment.getOffset());
Review Comment:
When will `dataOutputStream` be closed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]