Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private class ExtendedChannelPromise extends DefaultChannelPromise {
private List<GenericFutureListener> listeners = new ArrayList<>();
private boolean success;

public ExtendedChannelPromise(Channel channel) {
ExtendedChannelPromise(Channel channel) {
super(channel);
success = false;
}
Expand All @@ -127,7 +127,9 @@ public void finish(boolean success) {
listeners.forEach(listener -> {
try {
listener.operationComplete(this);
} catch (Exception e) { }
} catch (Exception e) {
// do nothing
}
});
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,16 @@ final class ShuffleExternalSorter extends MemoryConsumer {
this.taskContext = taskContext;
this.numPartitions = numPartitions;
// Use getSizeAsKb (not bytes) to maintain backwards compatibility if no units are provided
this.fileBufferSizeBytes = (int) (long) conf.get(package$.MODULE$.SHUFFLE_FILE_BUFFER_SIZE()) * 1024;
this.fileBufferSizeBytes =
(int) (long) conf.get(package$.MODULE$.SHUFFLE_FILE_BUFFER_SIZE()) * 1024;
this.numElementsForSpillThreshold =
conf.getLong("spark.shuffle.spill.numElementsForceSpillThreshold", 1024 * 1024 * 1024);
this.writeMetrics = writeMetrics;
this.inMemSorter = new ShuffleInMemorySorter(
this, initialSize, conf.getBoolean("spark.shuffle.sort.useRadixSort", true));
this.peakMemoryUsedBytes = getMemoryUsage();
this.diskWriteBufferSize = (int) (long) conf.get(package$.MODULE$.SHUFFLE_DISK_WRITE_BUFFER_SIZE());
this.diskWriteBufferSize =
(int) (long) conf.get(package$.MODULE$.SHUFFLE_DISK_WRITE_BUFFER_SIZE());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public ArrowColumnVector(ValueVector vector) {
anyNullsSet = numNulls > 0;
}

private static abstract class ArrowVectorAccessor {
private abstract static class ArrowVectorAccessor {

private final ValueVector vector;
private final ValueVector.Accessor nulls;
Expand Down