Skip to content

Commit

Permalink
build: Upgrade spotless version to 2.43.0
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Feb 22, 2024
1 parent 637dba9 commit e195cf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ under the License.
<parquet.maven.scope>provided</parquet.maven.scope>
<arrow.version>14.0.2</arrow.version>
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
<spotless.version>2.29.0</spotless.version>
<spotless.version>2.43.0</spotless.version>
<jni.dir>${project.basedir}/../core/target/debug</jni.dir>
<platform>darwin</platform>
<arch>x86_64</arch>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public final class CometShuffleMemoryAllocator extends MemoryConsumer {

/** The number of bits used to address the page table. */
private static final int PAGE_NUMBER_BITS = 13;

/** The number of entries in the page table. */
private static final int PAGE_TABLE_SIZE = 1 << PAGE_NUMBER_BITS;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public class CometUnsafeShuffleWriter<K, V> extends ShuffleWriter<K, V> {
private long peakMemoryUsedBytes = 0;
private ExposedByteArrayOutputStream serBuffer;
private SerializationStream serOutputStream;

/**
* Are we in the process of stopping? Because map tasks can call stop() with success = true and
* then call stop() with success = false if they get an exception, we want to make sure we don't
Expand Down

0 comments on commit e195cf7

Please sign in to comment.