Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Incompatible with Java 11 and above: Unexpected version format: 11.0.22 #128

Open
yuanoOo opened this issue Nov 27, 2024 · 0 comments

Comments

@yuanoOo
Copy link
Member

yuanoOo commented Nov 27, 2024

Describe the bug

Incompatible with Java 11 and above.

Caused by: java.lang.ExceptionInInitializerError
	at org.apache.hadoop.hbase.client.Mutation.<clinit>(Mutation.java:62)
	at com.oceanbase.spark.HBaseRelation.$anonfun$flush$1(HBaseRelation.scala:85)
	at com.oceanbase.spark.HBaseRelation.$anonfun$flush$1$adapted(HBaseRelation.scala:81)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at com.oceanbase.spark.HBaseRelation.flush(HBaseRelation.scala:81)
	at com.oceanbase.spark.HBaseRelation.$anonfun$insert$1(HBaseRelation.scala:73)
	at com.oceanbase.spark.HBaseRelation.$anonfun$insert$1$adapted(HBaseRelation.scala:63)
	at org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2(RDD.scala:1020)
	at org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2$adapted(RDD.scala:1020)
	at org.apache.spark.SparkContext.$anonfun$runJob$5(SparkContext.scala:2264)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
	at org.apache.spark.scheduler.Task.run(Task.scala:131)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:506)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1491)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: Unexpected version format: 11.0.22
	at org.apache.hadoop.hbase.util.ClassSize.<clinit>(ClassSize.java:119)
	... 20 more

Environment

  • obkv-hbase-client-java-0.1.5

Fast reproduce steps

Use this library on Java 11 and above.

Expected behavior

No response

Actual behavior

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant