Deepak Sharma created RANGER-1121:
-------------------------------------
Summary: resources doesnt shows up on ranger UI
Key: RANGER-1121
URL: https://issues.apache.org/jira/browse/RANGER-1121
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 0.6.0
Reporter: Deepak Sharma
Priority: Critical
Fix For: 0.6.0
resources doesn't shows up on ranger UI.
Exception:
{code}
java.lang.Exception: path: is not a valid resource-type.
org.apache.ranger.biz.ServiceDBStore.createNewResourcesForPolicy(ServiceDBStore.java:2878)
at
org.apache.ranger.biz.ServiceDBStore.createPolicy(ServiceDBStore.java:1767)
at
org.apache.ranger.rest.ServiceREST.createPolicy(ServiceREST.java:1276)
at
org.apache.ranger.rest.ServiceREST$$FastClassByCGLIB$$92dab672.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at
org.apache.ranger.rest.ServiceREST$$EnhancerByCGLIB$$e57831cf.createPolicy(<generated>)
at org.apache.ranger.rest.PublicAPIs.createPolicy(PublicAPIs.java:276)
at
org.apache.ranger.rest.PublicAPIs$$FastClassByCGLIB$$6502819.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at
org.apache.ranger.rest.PublicAPIs$$EnhancerByCGLIB$$754320fc.createPolicy(<generated>)
at sun.reflect.GeneratedMethodAcce
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)