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] Running with paimon failed with class not found exception #6633

Open
4 tasks done
AngersZhuuuu opened this issue Aug 21, 2024 · 1 comment
Open
4 tasks done
Labels
kind:bug This is a clearly a bug priority:major

Comments

@AngersZhuuuu
Copy link
Contributor

Code of Conduct

Search before asking

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

Describe the bug

java.lang.NoClassDefFoundError: [Lorg/apache/spark/sql/connector/catalog/Column;
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
	at java.lang.Class.getMethod0(Class.java:3018)
	at java.lang.Class.getMethod(Class.java:1784)
	at org.apache.kyuubi.plugin.spark.authz.util.AuthZUtils$.invoke(AuthZUtils.scala:63)
	at org.apache.kyuubi.plugin.spark.authz.util.AuthZUtils$.invokeAs(AuthZUtils.scala:77)
	at org.apache.kyuubi.plugin.spark.authz.serde.TableExtractor$.getOwner(tableExtractors.scala:52)
	at org.apache.kyuubi.plugin.spark.authz.serde.DataSourceV2RelationTableExtractor.$anonfun$apply$8(tableExtractors.scala:142)
	at scala.Option.flatMap(Option.scala:271)
	at org.apache.kyuubi.plugin.spark.authz.serde.DataSourceV2RelationTableExtractor.apply(tableExtractors.scala:140)
	at org.apache.kyuubi.plugin.spark.authz.serde.DataSourceV2RelationTableExtractor.apply(tableExtractors.scala:129)
	at org.apache.kyuubi.plugin.spark.authz.serde.ScanDesc.extract(Descriptor.scala:307)
	at org.apache.kyuubi.plugin.spark.authz.serde.ScanSpec.$anonfun$tables$2(CommandSpec.scala:102)
	at scala.collection.immutable.List.flatMap(List.scala:366)
	at org.apache.kyuubi.plugin.spark.authz.serde.ScanSpec.$anonfun$tables$1(CommandSpec.scala:100)
	at org.apache.kyuubi.plugin.spark.authz.ram.RamPrivilegesBuilder$.buildQuery(RamPrivilegesBuilder.scala:164)

Caused by paomin low version extension jar SparkTable will carry high version spark class

Affects Version(s)

master, 1.8.0

Kyuubi Server Log Output

No response

Kyuubi Engine Log Output

No response

Kyuubi Server Configurations

No response

Kyuubi Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.
@AngersZhuuuu AngersZhuuuu added kind:bug This is a clearly a bug priority:major labels Aug 21, 2024
@wuhua08
Copy link

wuhua08 commented Aug 26, 2024

1.7.3也碰到了这问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug priority:major
Projects
None yet
Development

No branches or pull requests

2 participants