Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1121

resources doesnt shows up on ranger UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: Ranger
    • Labels:
      None

      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
      
       

        Attachments

          Activity

            People

            • Assignee:
              spolavarapu Sailaja Polavarapu
              Reporter:
              deepakhuawei Deepak Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: