You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/03/06 10:07:33 UTC

[jira] [Resolved] (RANGER-1420) Some error log information in ranger policy module

     [ https://issues.apache.org/jira/browse/RANGER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved RANGER-1420.
-----------------------------------------
    Resolution: Fixed

> Some error log information in ranger policy module
> --------------------------------------------------
>
>                 Key: RANGER-1420
>                 URL: https://issues.apache.org/jira/browse/RANGER-1420
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 1.0.0
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>             Fix For: 1.0.0
>
>         Attachments: 0001-RANGER-1420-Some-error-log-information-in-ranger-pol.patch
>
>
> Path:\ranger\agents-common\src\main\java\org\apache\ranger\plugin\policyengine\RangerPolicyEngineImpl.java 
> It should be 'RangerMutableResource' rather than 'RangerMutableResource'. 
> if (resource.getServiceDef() == null) {
> 			if (resource instanceof RangerMutableResource) {
> 				RangerMutableResource mutable = (RangerMutableResource) resource;
> 				mutable.setServiceDef(getServiceDef());
> 			} else {
> 				LOG.debug("RangerPolicyEngineImpl.setResourceServiceDef(): Cannot set ServiceDef in RangerTagResourceMap.");
> 			}
> 		}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)