Description
resources doesn't shows up on ranger UI.
Exception:
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