[KYUUBI #4615] Bump Ranger from 2.3.0 to 2.4.0

### _Why are the changes needed?_

To close #4615
- bump Ranger version to 2.4.0, release notes: https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+2.4.0+-+Release+Notes
- #4585 fixed duplication and conflict in policy file
- update docs

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4675 from bowenliang123/ranger-2.4.0.

Closes #4615

d403bc324 [liangbowen] bump ranger from 2.3.0 to 2.4.0

Authored-by: liangbowen <liangbowen@gf.com.cn>
Signed-off-by: liangbowen <liangbowen@gf.com.cn>
This commit is contained in:
liangbowen 2023-04-10 13:12:34 +08:00
parent 91a2ab3665
commit d7532c5fd5
4 changed files with 6 additions and 4 deletions

View File

@ -70,6 +70,7 @@ The available `ranger.version`s are shown in the following table.
| Ranger Version | Supported | Remark |
|:--------------:|:---------:|:-----------------------------------------------------------------------------------------:|
| 2.4.x | √ | - |
| 2.3.x | √ | - |
| 2.2.x | √ | - |
| 2.1.x | √ | - |

View File

@ -26,7 +26,7 @@
## Build
```shell
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -Dspark.version=3.2.1 -Dranger.version=2.3.0
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -Dspark.version=3.2.1 -Dranger.version=2.4.0
```
### Supported Apache Spark Versions
@ -44,7 +44,8 @@ build/mvn clean package -pl :kyuubi-spark-authz_2.12 -Dspark.version=3.2.1 -Dran
`-Dranger.version=`
- [x] 2.3.x (default)
- [x] 2.4.x (default)
- [x] 2.3.x
- [x] 2.2.x
- [x] 2.1.x
- [x] 2.0.x

View File

@ -337,7 +337,7 @@
<!-- activated when Ranger version is identical to required-->
<property>
<name>ranger.version</name>
<value>2.3.0</value>
<value>2.4.0</value>
</property>
</activation>
<build>

View File

@ -180,7 +180,7 @@
<prometheus.version>0.16.0</prometheus.version>
<protobuf.version>3.21.7</protobuf.version>
<py4j.version>0.10.7</py4j.version>
<ranger.version>2.3.0</ranger.version>
<ranger.version>2.4.0</ranger.version>
<scalatest.version>3.2.15</scalatest.version>
<scalatestplus.version>3.2.15.0</scalatestplus.version>
<scopt.version>4.1.0</scopt.version>