Skip to content

Netty jar conflict when integrating Elastic Search with Metacat #564

@baifachuan

Description

@baifachuan

Branch: Master.

Integrating Elastic Search with Metacat I found this error:

Exception in thread "elasticsearch[_client_][management][T#1]" java.lang.NoSuchMethodError: io.netty.util.internal.ReferenceCountUpdater.setInitialValue(Lio/netty/util/ReferenceCounted;)V
	at io.netty.buffer.AbstractReferenceCountedByteBuf.<init>(AbstractReferenceCountedByteBuf.java:50)
	at io.netty.buffer.UnpooledHeapByteBuf.<init>(UnpooledHeapByteBuf.java:70)
	at io.netty.buffer.Unpooled.wrappedBuffer(Unpooled.java:160)
	at io.netty.buffer.Unpooled.wrappedBuffer(Unpooled.java:174)
	at org.elasticsearch.transport.netty4.Netty4Utils.toByteBuf(Netty4Utils.java:114)
	at org.elasticsearch.transport.netty4.Netty4Transport.sendMessage(Netty4Transport.java:412)
	at org.elasticsearch.transport.netty4.Netty4Transport.sendMessage(Netty4Transport.java:94)
Screenshot 2023-12-15 at 14 06 51

beacuse the iceberg-spark-runtime-0.13.1.jar include the netty, conflict with elasticsearch netty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions