-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74926/#review226427
-----------------------------------------------------------




pom.xml
Line 122 (original), 122 (patched)
<https://reviews.apache.org/r/74926/#comment314631>

    any specific reason to downgrade the graalvm version?



pom.xml
Lines 374 (patched)
<https://reviews.apache.org/r/74926/#comment314632>

    enunciate version depends on jdk?


- bhavik patel


On May 9, 2024, 3:03 p.m., Rakesh Gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74926/
> -----------------------------------------------------------
> 
> (Updated May 9, 2024, 3:03 p.m.)
> 
> 
> Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, 
> sanket shelar, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4076
>     https://issues.apache.org/jira/browse/RANGER-4076
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Currently only Java 8 and 11 are supported.  Java 17 is a major LTS version 
> of Java and adding support would modernize our Java version support.
> 
> This patch enables manual and Docker-based build of Apache Ranger. It ensures 
> compatibility with Java 8, Java 11, and Java 17 for both build and runtime 
> environments.
> 
> 
> Diffs
> -----
> 
>   agents-common/pom.xml 12e093f78 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/conditionevaluator/RangerScriptConditionEvaluator.java
>  6eb192270 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/GraalScriptEngineCreator.java
>  512d8d3ca 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/JavaScriptEngineCreator.java
>  4a0081579 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/NashornScriptEngineCreator.java
>  db620df92 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/ScriptEngineUtil.java
>  8d76c1d81 
>   
> agents-common/src/test/java/org/apache/ranger/plugin/conditionevaluator/RangerRequestScriptEvaluatorTest.java
>  0059bef88 
>   dev-support/ranger-docker/.env 91613e5ec 
>   dev-support/ranger-docker/Dockerfile.ranger-base 72a850482 
>   dev-support/ranger-docker/Dockerfile.ranger-build 9a192f152 
>   dev-support/ranger-docker/docker-compose.ranger-build.yml c8760aab5 
>   dev-support/ranger-docker/scripts/ranger-hadoop-setup.sh 10f04acd9 
>   dev-support/ranger-docker/scripts/ranger-hbase-setup.sh 95a1bdf21 
>   distro/src/main/assembly/admin-web.xml 245d9ca09 
>   distro/src/main/assembly/hbase-agent.xml ffb1de0c5 
>   distro/src/main/assembly/hdfs-agent.xml 349badfd2 
>   distro/src/main/assembly/hive-agent.xml 5bae92ac5 
>   distro/src/main/assembly/knox-agent.xml 3fa867150 
>   distro/src/main/assembly/plugin-atlas.xml c389282fc 
>   distro/src/main/assembly/plugin-kafka.xml 4ffbdd611 
>   distro/src/main/assembly/plugin-kms.xml 7c6a16330 
>   distro/src/main/assembly/plugin-kylin.xml 9aefa49d4 
>   distro/src/main/assembly/plugin-ozone.xml 294e5b9ef 
>   distro/src/main/assembly/plugin-presto.xml d50edf2d9 
>   distro/src/main/assembly/plugin-solr.xml bcb24c0fc 
>   distro/src/main/assembly/plugin-sqoop.xml adc2a9c26 
>   distro/src/main/assembly/plugin-yarn.xml 5db884710 
>   distro/src/main/assembly/storm-agent.xml a334e247c 
>   docs/src/site/resources/index.js bb876f28d 
>   hdfs-agent/pom.xml dece8f46f 
>   kms/pom.xml bfac6424a 
>   kms/src/main/java/org/apache/hadoop/crypto/key/RangerMasterKey.java 
> b6fc32950 
>   knox-agent/pom.xml 4387efb5c 
>   plugin-nestedstructure/pom.xml 0e208f99c 
>   
> plugin-nestedstructure/src/main/java/org/apache/ranger/authorization/nestedstructure/authorizer/RecordFilterJavaScript.java
>  77767767c 
>   
> plugin-nestedstructure/src/test/java/org/apache/ranger/authorization/nestedstructure/authorizer/TestRecordFilterJavaScript.java
>  9cb161b8d 
>   pom.xml efd152040 
>   security-admin/pom.xml fc59287d0 
> 
> 
> Diff: https://reviews.apache.org/r/74926/diff/4/
> 
> 
> Testing
> -------
> 
> This patch has been successfully tested and verified with Java versions 8, 
> 11, and 17. The verification process included both manual and Docker setup. 
> Now we are able to build and run on same jdk.
> 
> ### JDK 8 maven build successfully
> mvn clean compile package install
> 
> ### JDK 11 maven build successfully
> mvn clean compile package install
> 
> ### JDK 17 maven build successfully
> mvn clean compile package install -Pranger-all-modules-jdk17
> 
> ### Validated policy enforcement for below scenario :
> ## Scenario 1:
> Successfully validated policy enforcement(policy-condition) for HDFS, HBase 
> and Hive services using Ranger with JDK 8 for both build and runtime 
> environments.
> ## Scenario 2:
> Successfully validated policy enforcement(policy-condition) for HDFS, HBase 
> services using Ranger with JDK 17 for both build and runtime environments.
> 
> 
> Thanks,
> 
> Rakesh Gupta
> 
>

Reply via email to