You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "wbo4958 (via GitHub)" <gi...@apache.org> on 2025/07/29 02:41:59 UTC

[I] [Bug] Failed to build kyuubi with spark 4.0 [kyuubi]

wbo4958 opened a new issue, #7159:
URL: https://github.com/apache/kyuubi/issues/7159

   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [x] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   Hi, 
   
   I updated the kyuubi to the latest, and tried to compile it with spark 4.0 support. but I encountered below errors.
   
   ``` console
   [INFO] compiling 57 Scala sources and 1 Java source to /home/xxx/work.d/yyy/kyuubi/extensions/spark/kyuubi-spark-authz/target/scala-2.13/classes ...
   [ERROR] [Error] /home/xxx/work.d/yyy/kyuubi/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/rowfilter/FilterDataSourceV2Strategy.scala:19: object Strategy is not a member of package org.apache.spark.sql
   [ERROR] [Error] /home/xxx/work.d/yyy/kyuubi/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/rowfilter/FilterDataSourceV2Strategy.scala:23: not found: type Strategy
   [ERROR] [Error] /home/xxx/work.d/yyy/kyuubi/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RangerSparkExtension.scala:58: type mismatch;
    found   : org.apache.kyuubi.plugin.spark.authz.rule.rowfilter.FilterDataSourceV2Strategy.type
    required: v1.StrategyBuilder
       (which expands to)  org.apache.spark.sql.SparkSession => org.apache.spark.sql.execution.SparkStrategy
   [ERROR] three errors found
   ```
   
   BTW, I used below commands to compile it
   
   ``` bash
   ./build/dist --name custom-name --tgz --flink-provided --hive-provided -Pspark-4.0 -Pscala-2.13
   ```
   
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Engine Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Server Configurations
   
   ```yaml
   
   ```
   
   ### Kyuubi Engine Configurations
   
   ```yaml
   
   ```
   
   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130455239

   The main functionality works, those plugins are optional.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [Bug] Failed to build kyuubi with spark 4.0 [kyuubi]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130390699

   Hello @wbo4958,
   Thanks for finding the time to report the issue!
   We really appreciate the community's efforts to improve Apache Kyuubi.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130395837

   It's more like a feature request instead of a bug. Currently, authZ, lineage, Spark extension modules does not support Spark 4.0 yet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "wbo4958 (via GitHub)" <gi...@apache.org>.
wbo4958 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3134670222

   I see. Thx a lot


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "wbo4958 (via GitHub)" <gi...@apache.org>.
wbo4958 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130482160

   Thx @pan3793. Oh, I see. Thx for the info.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "turboFei (via GitHub)" <gi...@apache.org>.
turboFei closed issue #7159: AuthZ supports Spark 4.0
URL: https://github.com/apache/kyuubi/issues/7159


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "wbo4958 (via GitHub)" <gi...@apache.org>.
wbo4958 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3134670470

   Please fee free to close this comment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "wbo4958 (via GitHub)" <gi...@apache.org>.
wbo4958 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130487145

   BTW, it will be great if we can compile it. I mean, if some plugins/modules are not supported, probably, we just don't try to compile it. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "wbo4958 (via GitHub)" <gi...@apache.org>.
wbo4958 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130423432

   Thx @pan3793. That's interesting, The 1.10.2 release notes highlighted kyuubi has supported spark 4.0. does it really support 4.0 given that authz/lineage/spark extension modules do not support spark 4.0 yet? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] AuthZ supports Spark 4.0 [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #7159:
URL: https://github.com/apache/kyuubi/issues/7159#issuecomment-3130533420

   The official 1.10.2 binary artifact has out-of-box support for Spark 4.0. This [article](https://mp.weixin.qq.com/s/mxCKeOiVh33hH2-m1_g4Cw)(Chinese) explains how it works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org