This is an automated email from the ASF dual-hosted git repository.

bowenliang pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new 5a416e9856 [KYUUBI #6728] [DOC] update Authz plugin docs of build 
command with `-am` option
5a416e9856 is described below

commit 5a416e9856c944ffea489c5c96f344607b6553a2
Author: Bowen Liang <[email protected]>
AuthorDate: Wed Oct 16 13:31:14 2024 +0800

    [KYUUBI #6728] [DOC] update Authz plugin docs of build command with `-am` 
option
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    This pull request fixes #
    
    ## Describe Your Solution ๐Ÿ”ง
    
    - as titled
    - add Spark 3.4 and 3.5 to the supported Spark list
    
    ## Types of changes :bookmark:
    
    - [ ] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    #### Behavior Without This Pull Request :coffin:
    
    #### Behavior With This Pull Request :tada:
    
    #### Related Unit Tests
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [ ] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6728 from bowenliang123/doc-authz-build-am.
    
    Closes #6728
    
    f8254bc5c [Bowen Liang] doc
    
    Authored-by: Bowen Liang <[email protected]>
    Signed-off-by: Bowen Liang <[email protected]>
    (cherry picked from commit 4f5799d2b22d6626fb6ccec20b7aaed0987754c6)
    Signed-off-by: Bowen Liang <[email protected]>
---
 docs/security/authorization/spark/build.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/docs/security/authorization/spark/build.md 
b/docs/security/authorization/spark/build.md
index 17e8e00f4c..6fe67c075c 100644
--- a/docs/security/authorization/spark/build.md
+++ b/docs/security/authorization/spark/build.md
@@ -23,7 +23,7 @@ Kyuubi Spark AuthZ Plugin is built using [Apache 
Maven](https://maven.apache.org
 To build it, `cd` to the root direct of kyuubi project and run:
 
 ```shell
-build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests
 ```
 
 After a while, if everything goes well, you will get the plugin finally in two 
parts:
@@ -37,7 +37,7 @@ Apache Kyuubi also provides the shaded jar for the Spark 
AuthZ plugin, You can r
 To build it, `cd` to the root direct of kyuubi project and run:
 
 ```shell
-build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -DskipTests -am
+build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -am -DskipTests
 ```
 
 After a while, if everything goes well, you will get the plugin finally:
@@ -53,7 +53,7 @@ Sometimes, it may be incompatible with other Spark 
distributions, then you may n
 For example,
 
 ```shell
-build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests 
-Dspark.version=3.0.2
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests 
-Pspark-3.4 -Dspark.version=3.4.1
 ```
 
 The available `spark.version`s are shown in the following table.
@@ -61,9 +61,11 @@ The available `spark.version`s are shown in the following 
table.
 |   Spark Version   | Supported |                                              
           Remark                                                         |
 
|:-----------------:|:---------:|:----------------------------------------------------------------------------------------------------------------------:|
 |      master       |     โˆš     |                                              
             -                                                            |
+|       3.5.x       |     โˆš     |                                              
             -                                                            |
+|       3.4.x       |     โˆš     |                                              
             -                                                            |
 |       3.3.x       |     โˆš     |                                              
             -                                                            |
 |       3.2.x       |     โˆš     |                                              
             -                                                            |
-|       3.1.x       |     โˆš     |                                              
             -                                                            |
+|       3.1.x       |     x     |                                              
     EOL since v1.10.0                                                    |
 |       3.0.x       |     x     |                                              
      EOL since v1.9.0                                                    |
 | 2.4.x and earlier |     ร—     | [PR 
2367](https://github.com/apache/kyuubi/pull/2367) is used to track how we work 
with older releases with scala 2.11 |
 
@@ -76,7 +78,7 @@ By default, it is always built with the latest 
`ranger.version` defined in kyuub
 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 -DskipTests 
-Dranger.version=0.7.0
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests 
-Dranger.version=2.4.0
 ```
 
 The available `ranger.version`s are shown in the following table.

Reply via email to