Skip to content

java.lang.NoClassDefFoundError: Could not initialize class org.apache.comet.package$  #1012

Description

@andygrove

Describe the bug

I am building a Docker image using the Dockerfile from this repo and then trying to execute queries in k8s. I get the following error.

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.comet.package$
  at org.apache.comet.vector.NativeUtil.<init>(NativeUtil.scala:48)
  at org.apache.comet.CometExecIterator.<init>(CometExecIterator.scala:52)                         

As far as I can tell, the root cause is an exception being thrown in the following code:

package object comet {

  val CometArrowAllocator = new RootAllocator(Long.MaxValue)

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions