org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9","stackTrace":"org.apache.atlas.repository.RepositoryException: org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9

atlas-dev | Shwetha G S (JIRA) | 11 months ago
  1. 0

    [jira] [Updated] (ATLAS-398) Delete trait that exists but not linked to entity results in "400 Bad request". It should result "404 not found"

    atlas-dev | 11 months ago | Shwetha G S (JIRA)
    org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9","stackTrace":"org.apache.atlas.repository.RepositoryException: org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9
  2. 0

    [jira] [Updated] (ATLAS-398) Delete trait that exists but not linked to entity results in "400 Bad request". It should result "404 not found"

    atlas-dev | 11 months ago | Shwetha G S (JIRA)
    org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9

    Root Cause Analysis

    1. org.apache.atlas.typesystem.exception.EntityNotFoundException

      Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9","stackTrace":"org.apache.atlas.repository.RepositoryException: org.apache.atlas.typesystem.exception.EntityNotFoundException: Could not find trait=deleteTraitThatExistsButNotLinkedToEntitywzrfuznlno in the repository for entity: c4d364e5-c5d0-4971-8b35-9a661128a5d9

      at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteTrait()
    2. org.apache.atlas
      EntityResource.deleteTrait
      1. org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteTrait(GraphBackedMetadataRepository.java:266)
      2. org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:42)
      3. org.apache.atlas.services.DefaultMetadataService.deleteTrait(DefaultMetadataService.java:607)
      4. org.apache.atlas.web.resources.EntityResource.deleteTrait(EntityResource.java:523)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    4. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      6. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      7. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      8. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      12. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      12 frames
    5. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    7. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
      5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
      5 frames
    8. org.apache.atlas
      AuditFilter.doFilter
      1. org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:67)
      1 frame
    9. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
      3. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)
      4. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)
      5. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)
      6. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)
      6 frames
    10. Jetty
      QueuedThreadPool.runJob
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      12. org.eclipse.jetty.server.Server.handle(Server.java:499)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      16 frames