aajisaka commented on code in PR #7437: URL: https://github.com/apache/kyuubi/pull/7437#discussion_r4497831720
########## docs/security/authorization/spark/build.md: ########## @@ -74,24 +74,16 @@ The available `spark.version`s are shown in the following table. The maven option `ranger.version` is used for specifying Ranger version to compile with and generate corresponding transitive dependencies. By default, it is always built with the latest `ranger.version` defined in kyuubi project main pom file. -Sometimes, it may be incompatible with other Ranger Admins, then you may need to build the plugin on your own targeting the Ranger Admin version you connect with. ```shell -build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests -Dranger.version=2.4.0 +build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests -Dranger.version=2.9.0 ``` -The available `ranger.version`s are shown in the following table. +The plugin is built on the Ranger 2.9 authorization API (`ranger-authz-api` and +`authz-remote`), which was introduced in Ranger 2.9.0, so only Ranger 2.9.0 and above +are supported. -| Ranger Version | Supported | Remark | -|:--------------:|:---------:|:------:| -| 2.6.x | √ | - | -| 2.5.x | √ | - | -| 2.4.x | √ | - | -| 2.3.x | √ | - | -| 2.2.x | √ | - | -| 2.1.x | √ | - | - -Currently, all ranger releases are supported. +Please use branch-1.12 or prior to build against Ranger versions prior to 2.9.0. Review Comment: Once this PR is merged into branch-1.13 and upper, 1.13+ requires Ranger 2.9.0 or above, while branch-1.12 still documents the older Ranger releases (0.7.x–2.6.x; 0.6.x has known failures). I'll add a line pointing users on Ranger < 2.9.0 to the branch-1.12 documentation instead of duplicating the full matrix here. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
