You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2017/03/22 17:26:00 UTC
Review Request 57849: tag downloads fail with error
"XXServiceResourceElement.findTaggedResourcesInServiceId"
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57849/
-----------------------------------------------------------
Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.
Bugs: RANGER-1472
https://issues.apache.org/jira/browse/RANGER-1472
Repository: ranger
Description
-------
Components fail to download tags from ranger-admin due to following error.
2017-03-22 12:16:48,576 [http-bio-6080-exec-26] INFO org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:345) - Request failed. loginId=hdfs, logMessage=NamedQuery of name: XXServiceResourceElement.findTaggedResourcesInServiceId not found.
javax.ws.rs.WebApplicationException
at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:337)
at org.apache.ranger.rest.TagREST.getSecureServiceTagsIfUpdated(TagREST.java:1225)
The root cause is incorrectly named JPA named queries.
Diffs
-----
security-admin/src/main/resources/META-INF/jpa_named_queries.xml 589f3cd
Diff: https://reviews.apache.org/r/57849/diff/1/
Testing
-------
Tested with live cluster with tag optimizations turned off. Tag downloads succeeded without errors.
Thanks,
Abhay Kulkarni
Re: Review Request 57849: tag downloads fail with error
"XXServiceResourceElement.findTaggedResourcesInServiceId"
Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57849/#review169739
-----------------------------------------------------------
Ship it!
Ship It!
- Madhan Neethiraj
On March 22, 2017, 5:25 p.m., Abhay Kulkarni wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57849/
> -----------------------------------------------------------
>
> (Updated March 22, 2017, 5:25 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1472
> https://issues.apache.org/jira/browse/RANGER-1472
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Components fail to download tags from ranger-admin due to following error.
> 2017-03-22 12:16:48,576 [http-bio-6080-exec-26] INFO org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:345) - Request failed. loginId=hdfs, logMessage=NamedQuery of name: XXServiceResourceElement.findTaggedResourcesInServiceId not found.
> javax.ws.rs.WebApplicationException
> at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:337)
> at org.apache.ranger.rest.TagREST.getSecureServiceTagsIfUpdated(TagREST.java:1225)
>
>
> The root cause is incorrectly named JPA named queries.
>
>
> Diffs
> -----
>
> security-admin/src/main/resources/META-INF/jpa_named_queries.xml 589f3cd
>
>
> Diff: https://reviews.apache.org/r/57849/diff/1/
>
>
> Testing
> -------
>
> Tested with live cluster with tag optimizations turned off. Tag downloads succeeded without errors.
>
>
> Thanks,
>
> Abhay Kulkarni
>
>