dongjoon-hyun commented on a change in pull request #31934:
URL: https://github.com/apache/spark/pull/31934#discussion_r600681920
##########
File path:
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/RemoteBlockPushResolver.java
##########
@@ -639,7 +624,7 @@ public void onData(String streamId, ByteBuffer buf) throws
IOException {
// written to disk due to this reason. We thus decide to optimize
for server
// throughput and memory usage.
if (deferredBufs == null) {
- deferredBufs = new LinkedList<>();
+ deferredBufs = new ArrayList<>();
Review comment:
Could you fix Java Linter Error? GitHub Action is complaining for the
following.
```
src/main/java/org/apache/spark/network/shuffle/RemoteBlockPushResolver.java:[33,8]
(imports) UnusedImports: Unused import - java.util.LinkedList.
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]