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 (JIRA)" <ji...@apache.org> on 2015/04/14 22:34:59 UTC

[jira] [Created] (RANGER-396) Policy create/update/delete fail to update service.policyVersion field

Madhan Neethiraj created RANGER-396:
---------------------------------------

             Summary: Policy create/update/delete fail to update service.policyVersion field
                 Key: RANGER-396
                 URL: https://issues.apache.org/jira/browse/RANGER-396
             Project: Ranger
          Issue Type: Bug
          Components: admin
    Affects Versions: 0.5.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Policy create/update/delete operations return error even though the changes are saved in policy store. Looking at ranger-admin logs, the failure is in updating the policyVersion field of the service object.

javax.ws.rs.WebApplicationException
        at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:55)
        at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:279)
        at org.apache.ranger.biz.ServiceDBStore.validateRequiredConfigParams(ServiceDBStore.java:1623)
        at org.apache.ranger.biz.ServiceDBStore.updateService(ServiceDBStore.java:1055)
        at org.apache.ranger.biz.ServiceDBStore.handlePolicyUpdate(ServiceDBStore.java:1652)
        at org.apache.ranger.biz.ServiceDBStore.updatePolicy(ServiceDBStore.java:1326)
        at org.apache.ranger.rest.ServiceREST.updatePolicy(ServiceREST.java:905)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)