You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Madhan Neethiraj <ma...@apache.org> on 2024/07/30 04:47:45 UTC

Review Request 75123: RANGER-4874: fix for AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;

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

Review request for ranger, Abhishek  Kumar, Fateh Singh, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


Bugs: RANGER-4874
    https://issues.apache.org/jira/browse/RANGER-4874


Repository: ranger


Description
-------

- version of javax.ws.rs included in jersey-bundle is older compared to the javax.ws.rs-api-2.1.1, which resulted in AbstractMethodError
- to address this error, removed javax.ws.rs-api-2.1.1 from dependency/packaging
- jackson-jaxrs-json-provider requires class javax.ws.rs.core.NoContentException, which is missing in jersey-bundle
- to address this issue, added class javax.ws.rs.core.NoContentException in security-admin and kms modules


Diffs
-----

  agents-audit/pom.xml b0e7bb92a 
  agents-common/pom.xml 02c4a2362 
  agents-cred/pom.xml 6ed81be0b 
  credentialbuilder/pom.xml 6e5dc7c0c 
  distro/src/main/assembly/sample-client.xml dd01d1f47 
  hbase-agent/pom.xml 1d214cdcc 
  hdfs-agent/pom.xml e51ec307d 
  kms/pom.xml 0003378a5 
  kms/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
  knox-agent/pom.xml 9063fda2b 
  plugin-kafka/pom.xml bac40aac8 
  plugin-ozone/pom.xml 7fa198f0a 
  plugin-schema-registry/pom.xml fa4f781bc 
  plugin-yarn/pom.xml c5263ecff 
  pom.xml bd5b69600 
  ranger-authn/pom.xml 361a130f5 
  ranger-common-ha/pom.xml b1fba9690 
  ranger-examples/plugin-sampleapp/pom.xml 297cabeda 
  ranger-hdfs-plugin-shim/pom.xml fb4ecb631 
  ranger-metrics/pom.xml c9b676460 
  ranger-presto-plugin-shim/pom.xml 05d0c7fe8 
  ranger-yarn-plugin-shim/pom.xml 83d3b67d6 
  security-admin/pom.xml ddc7dfffd 
  security-admin/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
  storm-agent/pom.xml 38f3f6a33 
  ugsync/pom.xml 1240711f4 


Diff: https://reviews.apache.org/r/75123/diff/1/


Testing
-------

- verified that build with unit tests pass successfully
- verified that Ranger servers startup and initialize successfully
- verified that Ranger plugins install, initialize, enforce Ranger policies and generate audit logs
- verified that Ranger server installation has only one library containing javax.ws.rs.core.Response - jersey-bundle-1.19.3.jar


Thanks,

Madhan Neethiraj


Re: Review Request 75123: RANGER-4874: fix for AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;

Posted by Abhishek Kumar <ab...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75123/#review226737
-----------------------------------------------------------


Ship it!




Ship It!

- Abhishek  Kumar


On July 30, 2024, 4:47 a.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75123/
> -----------------------------------------------------------
> 
> (Updated July 30, 2024, 4:47 a.m.)
> 
> 
> Review request for ranger, Abhishek  Kumar, Fateh Singh, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4874
>     https://issues.apache.org/jira/browse/RANGER-4874
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> - version of javax.ws.rs included in jersey-bundle is older compared to the javax.ws.rs-api-2.1.1, which resulted in AbstractMethodError
> - to address this error, removed javax.ws.rs-api-2.1.1 from dependency/packaging
> - jackson-jaxrs-json-provider requires class javax.ws.rs.core.NoContentException, which is missing in jersey-bundle
> - to address this issue, added class javax.ws.rs.core.NoContentException in security-admin and kms modules
> 
> 
> Diffs
> -----
> 
>   agents-audit/pom.xml b0e7bb92a 
>   agents-common/pom.xml 02c4a2362 
>   agents-cred/pom.xml 6ed81be0b 
>   credentialbuilder/pom.xml 6e5dc7c0c 
>   distro/src/main/assembly/sample-client.xml dd01d1f47 
>   hbase-agent/pom.xml 1d214cdcc 
>   hdfs-agent/pom.xml e51ec307d 
>   kms/pom.xml 0003378a5 
>   kms/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   knox-agent/pom.xml 9063fda2b 
>   plugin-kafka/pom.xml bac40aac8 
>   plugin-ozone/pom.xml 7fa198f0a 
>   plugin-schema-registry/pom.xml fa4f781bc 
>   plugin-yarn/pom.xml c5263ecff 
>   pom.xml bd5b69600 
>   ranger-authn/pom.xml 361a130f5 
>   ranger-common-ha/pom.xml b1fba9690 
>   ranger-examples/plugin-sampleapp/pom.xml 297cabeda 
>   ranger-hdfs-plugin-shim/pom.xml fb4ecb631 
>   ranger-metrics/pom.xml c9b676460 
>   ranger-presto-plugin-shim/pom.xml 05d0c7fe8 
>   ranger-yarn-plugin-shim/pom.xml 83d3b67d6 
>   security-admin/pom.xml ddc7dfffd 
>   security-admin/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   storm-agent/pom.xml 38f3f6a33 
>   ugsync/pom.xml 1240711f4 
> 
> 
> Diff: https://reviews.apache.org/r/75123/diff/1/
> 
> 
> Testing
> -------
> 
> - verified that build with unit tests pass successfully
> - verified that Ranger servers startup and initialize successfully
> - verified that Ranger plugins install, initialize, enforce Ranger policies and generate audit logs
> - verified that Ranger server installation has only one library containing javax.ws.rs.core.Response - jersey-bundle-1.19.3.jar
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>


Re: Review Request 75123: RANGER-4874: fix for AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;

Posted by bhavik patel <bh...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75123/#review226738
-----------------------------------------------------------


Ship it!




Ship It!

- bhavik patel


On July 30, 2024, 4:47 a.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75123/
> -----------------------------------------------------------
> 
> (Updated July 30, 2024, 4:47 a.m.)
> 
> 
> Review request for ranger, Abhishek  Kumar, Fateh Singh, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4874
>     https://issues.apache.org/jira/browse/RANGER-4874
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> - version of javax.ws.rs included in jersey-bundle is older compared to the javax.ws.rs-api-2.1.1, which resulted in AbstractMethodError
> - to address this error, removed javax.ws.rs-api-2.1.1 from dependency/packaging
> - jackson-jaxrs-json-provider requires class javax.ws.rs.core.NoContentException, which is missing in jersey-bundle
> - to address this issue, added class javax.ws.rs.core.NoContentException in security-admin and kms modules
> 
> 
> Diffs
> -----
> 
>   agents-audit/pom.xml b0e7bb92a 
>   agents-common/pom.xml 02c4a2362 
>   agents-cred/pom.xml 6ed81be0b 
>   credentialbuilder/pom.xml 6e5dc7c0c 
>   distro/src/main/assembly/sample-client.xml dd01d1f47 
>   hbase-agent/pom.xml 1d214cdcc 
>   hdfs-agent/pom.xml e51ec307d 
>   kms/pom.xml 0003378a5 
>   kms/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   knox-agent/pom.xml 9063fda2b 
>   plugin-kafka/pom.xml bac40aac8 
>   plugin-ozone/pom.xml 7fa198f0a 
>   plugin-schema-registry/pom.xml fa4f781bc 
>   plugin-yarn/pom.xml c5263ecff 
>   pom.xml bd5b69600 
>   ranger-authn/pom.xml 361a130f5 
>   ranger-common-ha/pom.xml b1fba9690 
>   ranger-examples/plugin-sampleapp/pom.xml 297cabeda 
>   ranger-hdfs-plugin-shim/pom.xml fb4ecb631 
>   ranger-metrics/pom.xml c9b676460 
>   ranger-presto-plugin-shim/pom.xml 05d0c7fe8 
>   ranger-yarn-plugin-shim/pom.xml 83d3b67d6 
>   security-admin/pom.xml ddc7dfffd 
>   security-admin/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   storm-agent/pom.xml 38f3f6a33 
>   ugsync/pom.xml 1240711f4 
> 
> 
> Diff: https://reviews.apache.org/r/75123/diff/1/
> 
> 
> Testing
> -------
> 
> - verified that build with unit tests pass successfully
> - verified that Ranger servers startup and initialize successfully
> - verified that Ranger plugins install, initialize, enforce Ranger policies and generate audit logs
> - verified that Ranger server installation has only one library containing javax.ws.rs.core.Response - jersey-bundle-1.19.3.jar
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>


Re: Review Request 75123: RANGER-4874: fix for AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;

Posted by Vyom Tiwari via Review Board <no...@reviews.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75123/#review226741
-----------------------------------------------------------


Ship it!




Ship It!

- Vyom Tiwari


On July 30, 2024, 4:47 a.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75123/
> -----------------------------------------------------------
> 
> (Updated July 30, 2024, 4:47 a.m.)
> 
> 
> Review request for ranger, Abhishek  Kumar, Fateh Singh, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4874
>     https://issues.apache.org/jira/browse/RANGER-4874
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> - version of javax.ws.rs included in jersey-bundle is older compared to the javax.ws.rs-api-2.1.1, which resulted in AbstractMethodError
> - to address this error, removed javax.ws.rs-api-2.1.1 from dependency/packaging
> - jackson-jaxrs-json-provider requires class javax.ws.rs.core.NoContentException, which is missing in jersey-bundle
> - to address this issue, added class javax.ws.rs.core.NoContentException in security-admin and kms modules
> 
> 
> Diffs
> -----
> 
>   agents-audit/pom.xml b0e7bb92a 
>   agents-common/pom.xml 02c4a2362 
>   agents-cred/pom.xml 6ed81be0b 
>   credentialbuilder/pom.xml 6e5dc7c0c 
>   distro/src/main/assembly/sample-client.xml dd01d1f47 
>   hbase-agent/pom.xml 1d214cdcc 
>   hdfs-agent/pom.xml e51ec307d 
>   kms/pom.xml 0003378a5 
>   kms/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   knox-agent/pom.xml 9063fda2b 
>   plugin-kafka/pom.xml bac40aac8 
>   plugin-ozone/pom.xml 7fa198f0a 
>   plugin-schema-registry/pom.xml fa4f781bc 
>   plugin-yarn/pom.xml c5263ecff 
>   pom.xml bd5b69600 
>   ranger-authn/pom.xml 361a130f5 
>   ranger-common-ha/pom.xml b1fba9690 
>   ranger-examples/plugin-sampleapp/pom.xml 297cabeda 
>   ranger-hdfs-plugin-shim/pom.xml fb4ecb631 
>   ranger-metrics/pom.xml c9b676460 
>   ranger-presto-plugin-shim/pom.xml 05d0c7fe8 
>   ranger-yarn-plugin-shim/pom.xml 83d3b67d6 
>   security-admin/pom.xml ddc7dfffd 
>   security-admin/src/main/java/javax/ws/rs/core/NoContentException.java PRE-CREATION 
>   storm-agent/pom.xml 38f3f6a33 
>   ugsync/pom.xml 1240711f4 
> 
> 
> Diff: https://reviews.apache.org/r/75123/diff/1/
> 
> 
> Testing
> -------
> 
> - verified that build with unit tests pass successfully
> - verified that Ranger servers startup and initialize successfully
> - verified that Ranger plugins install, initialize, enforce Ranger policies and generate audit logs
> - verified that Ranger server installation has only one library containing javax.ws.rs.core.Response - jersey-bundle-1.19.3.jar
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>