[Bug] java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer · Issue #1982 · apache/uniffle · GitHub
Skip to content

[Bug] java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer #1982

Description

@xianjingfeng

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

https://github.com/apache/incubator-gluten/actions/runs/10005893363/job/27659899781?pr=6484
https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/

Affects Version(s)

master

Uniffle Server Log Output

No response

Uniffle Engine Log Output

Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: Operator::getOutput failed for [operator: ValueStream, plan node ID: 0]: Error during calling Java code from native code: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
	at org.apache.uniffle.common.util.ChecksumUtils.getCrc32(ChecksumUtils.java:50)
	at org.apache.uniffle.client.impl.ShuffleReadClientImpl.readShuffleBlockData(ShuffleReadClientImpl.java:242)
	at org.apache.spark.shuffle.reader.RssShuffleDataIterator.hasNext(RssShuffleDataIterator.java:115)
	at org.apache.spark.util.CompletionIterator.hasNext(CompletionIterator.scala:31)
	at org.apache.spark.shuffle.reader.RssShuffleReader$MultiPartitionIterator.hasNext(RssShuffleReader.java:307)
	at org.apache.spark.InterruptibleIterator.hasNext(InterruptibleIterator.scala:37)

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions