I think this was addressed in ATLAS-2695.

On 5/31/18, 10:20 AM, "Pierre Padovani" <[email protected]> 
wrote:

    Ok... thanks.. couldn't find anything on my search. I'll rebuild with
    latest today... if latest fixes the issue then I'll close my issue as fixed.
    
    On Thu, May 31, 2018 at 12:12 PM, Apoorv Naik <[email protected]> wrote:
    
    > Hi Pierre,
    >
    > Are you testing this with the rc 2 or a build prior to that ? The delete
    > issue was filed in one of the recent commits (maybe a week ago), I don't
    > remember the issue number off the top of my head. Let me share the same
    > once I get hold of the details.
    >
    > Sent from Nine<http://www.9folders.com/>
    > ________________________________
    > From: Pierre Padovani <[email protected]>
    > Sent: Thursday, May 31, 2018 10:07 AM
    > To: [email protected]; Madhan Neethiraj
    > Subject: Re: Problem deleting edges with 1.0.0 - pre rc
    >
    > Created issue: https://issues.apache.org/jira/browse/ATLAS-2727
    >
    >
    >
    > On Thu, May 31, 2018 at 11:47 AM, Pierre Padovani <
    > [email protected]> wrote:
    >
    > > Sorry for the spam... One last data point. It looks like the deletion of
    > B
    > > is the issue. I can delete A, but this doesn't delete B.
    > >
    > > On Thu, May 31, 2018 at 11:21 AM, Pierre Padovani <pierre.padovani@
    > > civitaslearning.com> wrote:
    > >
    > >> The level we are using is a few weeks old, but I didn't see an issue
    > that
    > >> fixed this in the interim.
    > >>
    > >> Problem:
    > >>
    > >> Entity A -> Composition Relationship -> Entity B
    > >>
    > >> Delete Entity A and Entity B
    > >>
    > >> I get the following exception trace:
    > >>
    > >> java.lang.IllegalArgumentException: Invalid edge label
    > >> r:DiscoveryPackTables: expected 2 or 3 label components but found 1 at
    > >> org.apache.atlas.repository.graph.AtlasEdgeLabel.<init>(
    > AtlasEdgeLabel.java:37)
    > >> at org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.g
    > >> etAttributeForEdge(DeleteHandlerV1.java:722) at
    > >> org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.
    > >> deleteVertex(DeleteHandlerV1.java:865) at
    > org.apache.atlas.repository.st
    > >> ore.graph.v1.DeleteHandlerV1.deleteTypeVertex(DeleteHandlerV1.java:718)
    > >> at org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.d
    > >> eleteEntities(DeleteHandlerV1.java:140) at
    > org.apache.atlas.repository.st
    > >> ore.graph.v1.AtlasEntityStoreV1.deleteVertices(
    > AtlasEntityStoreV1.java:704)
    > >> at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV
    > >> 1.deleteById(AtlasEntityStoreV1.java:297) at
    > >> org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV
    > >> 1$$FastClassBySpringCGLIB$$80c00649.invoke(<generated>) at
    > >> org.springframework.cglib.proxy.MethodProxy.invoke(
    > MethodProxy.java:204)
    > >> at org.springframework.aop.framework.CglibAopProxy$CglibMethodI
    > >> nvocation.invokeJoinpoint(CglibAopProxy.java:738) at
    > >> org.springframework.aop.framework.ReflectiveMethodInvocation
    > >> .proceed(ReflectiveMethodInvocation.java:157) at
    > >> org.apache.atlas.GraphTransactionInterceptor.invoke(
    > GraphTransactionInterceptor.java:75)
    > >> at org.springframework.aop.framework.ReflectiveMethodInvocation
    > >> .proceed(ReflectiveMethodInvocation.java:179) at
    > >> org.springframework.aop.framework.CglibAopProxy$DynamicAdvis
    > >> edInterceptor.intercept(CglibAopProxy.java:673) at
    > >> org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV
    > >> 1$$EnhancerBySpringCGLIB$$2072786c.deleteById(<generated>) at
    > >> org.apache.atlas.web.rest.EntityREST.deleteByGuid(EntityREST.java:327)
    > >> at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source) at
    > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(
    > DelegatingMethodAccessorImpl.java:43)
    > >> at java.lang.reflect.Method.invoke(Method.java:498) at
    > >> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invo
    > >> ke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.mod
    > >> el.method.dispatch.AbstractResourceMethodDispatchProvider$
    > >> TypeOutInvoker._dispatch(AbstractResourceMethodDispatch
    > Provider.java:185)
    > >> at com.sun.jersey.server.impl.model.method.dispatch.ResourceJav
    > >> aMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at
    > >> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.
    > accept(HttpMethodRule.java:302)
    > >> at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.
    > accept(RightHandPathRule.java:147)
    > >> at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.
    > accept(ResourceClassRule.java:108)
    > >> at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.
    > accept(RightHandPathRule.java:147)
    > >> at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule
    > >> .accept(RootResourceClassesRule.java:84) at
    > >> com.sun.jersey.server.impl.application.WebApplicationImpl._h
    > >> andleRequest(WebApplicationImpl.java:1542) at
    > >> com.sun.jersey.server.impl.application.WebApplicationImpl._h
    > >> andleRequest(WebApplicationImpl.java:1473) at
    > >> com.sun.jersey.server.impl.application.WebApplicationImpl.ha
    > >> ndleRequest(WebApplicationImpl.java:1419) at
    > >> com.sun.jersey.server.impl.application.WebApplicationImpl.ha
    > >> ndleRequest(WebApplicationImpl.java:1409) at
    > >> com.sun.jersey.spi.container.servlet.WebComponent.service(
    > WebComponent.java:409)
    > >> at com.sun.jersey.spi.container.servlet.ServletContainer.
    > service(ServletContainer.java:558)
    > >> at com.sun.jersey.spi.container.servlet.ServletContainer.
    > service(ServletContainer.java:733)
    > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at
    > >> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
    > >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
    > doFilter(ServletHandler.java:1712)
    > >> at org.apache.atlas.web.filters.AuditFilter.doFilter(
    > AuditFilter.java:80)
    > >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
    > doFilter(ServletHandler.java:1699)
    > >> at org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:317) at
    > >> org.springframework.security.web.access.intercept.FilterSecu
    > >> rityInterceptor.invoke(FilterSecurityInterceptor.java:127) at
    > >> org.springframework.security.web.access.intercept.FilterSecu
    > >> rityInterceptor.doFilter(FilterSecurityInterceptor.java:91) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.access.ExceptionTranslation
    > >> Filter.doFilter(ExceptionTranslationFilter.java:114) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.session.SessionManagementFi
    > >> lter.doFilter(SessionManagementFilter.java:137) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.authentication.AnonymousAut
    > >> henticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.apache.atlas.web.filters.AtlasCSRFPreventionFilter$Servl
    > >> etFilterHttpInteraction.proceed(AtlasCSRFPreventionFilter.java:235) at
    > >> org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.handl
    > >> eHttpInteraction(AtlasCSRFPreventionFilter.java:177) at
    > >> org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFil
    > >> ter(AtlasCSRFPreventionFilter.java:190) at
    > org.springframework.security.w
    > >> eb.FilterChainProxy$VirtualFilterChain.doFilter(
    > FilterChainProxy.java:331)
    > >> at org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFil
    > >> ter(AtlasAuthenticationFilter.java:370) at
    > org.springframework.security.w
    > >> eb.FilterChainProxy$VirtualFilterChain.doFilter(
    > FilterChainProxy.java:331)
    > >> at org.springframework.security.web.servletapi.SecurityContextH
    > >> olderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequ
    > estFilter.java:170)
    > >> at org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.savedrequest.RequestCacheAw
    > >> areFilter.doFilter(RequestCacheAwareFilter.java:63) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.d
    > >> oFilter(StaleTransactionCleanupFilter.java:55) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.authentication.www.BasicAut
    > >> henticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
    > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter
    > >> (OncePerRequestFilter.java:107) at org.springframework.security.w
    > >> eb.FilterChainProxy$VirtualFilterChain.doFilter(
    > FilterChainProxy.java:331)
    > >> at org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilte
    > >> r.doFilter(AtlasKnoxSSOAuthenticationFilter.java:146) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.authentication.AbstractAuth
    > >> enticationProcessingFilter.doFilter(AbstractAuthenticationProcessi
    > ngFilter.java:200)
    > >> at org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.authentication.logout.Logou
    > >> tFilter.doFilter(LogoutFilter.java:116) at
    > org.springframework.security.w
    > >> eb.FilterChainProxy$VirtualFilterChain.doFilter(
    > FilterChainProxy.java:331)
    > >> at org.springframework.security.web.context.SecurityContextPers
    > >> istenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) at
    > >> org.springframework.security.web.FilterChainProxy$VirtualFil
    > >> terChain.doFilter(FilterChainProxy.java:331) at
    > >> org.springframework.security.web.context.request.async.WebAs
    > >> yncManagerIntegrationFilter.doFilterInternal(
    > WebAsyncManagerIntegrationFilter.java:56)
    > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter
    > >> (OncePerRequestFilter.java:107) at org.springframework.security.w
    > >> eb.FilterChainProxy$VirtualFilterChain.doFilter(
    > FilterChainProxy.java:331)
    > >> at org.springframework.security.web.FilterChainProxy.doFilterIn
    > >> ternal(FilterChainProxy.java:214) at org.springframework.security.w
    > >> eb.FilterChainProxy.doFilter(FilterChainProxy.java:177) at
    > >> org.springframework.web.filter.DelegatingFilterProxy.invokeD
    > >> elegate(DelegatingFilterProxy.java:346) at
    > org.springframework.web.filter
    > >> .DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) at
    > >> org.eclipse.jetty.servlet.ServletHandler$CachedChain.
    > doFilter(ServletHandler.java:1691)
    > >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(
    > ServletHandler.java:582)
    > >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    > ScopedHandler.java:143)
    > >> at org.eclipse.jetty.security.SecurityHandler.handle(
    > SecurityHandler.java:548)
    > >> at org.eclipse.jetty.server.session.SessionHandler.
    > doHandle(SessionHandler.java:226)
    > >> at org.eclipse.jetty.server.handler.ContextHandler.
    > doHandle(ContextHandler.java:1180)
    > >> at org.eclipse.jetty.servlet.ServletHandler.doScope(
    > ServletHandler.java:512)
    > >> at org.eclipse.jetty.server.session.SessionHandler.
    > doScope(SessionHandler.java:185)
    > >> at org.eclipse.jetty.server.handler.ContextHandler.
    > doScope(ContextHandler.java:1112)
    > >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    > ScopedHandler.java:141)
    > >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
    > HandlerWrapper.java:134)
    > >> at org.eclipse.jetty.server.Server.handle(Server.java:534) at
    > >> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at
    > >> org.eclipse.jetty.server.HttpConnection.onFillable(
    > HttpConnection.java:251)
    > >> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.
    > >> succeeded(AbstractConnection.java:273) at
    > org.eclipse.jetty.io.FillInter
    > >> est.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectCha
    > >> nnelEndPoint$2.run(SelectChannelEndPoint.java:93) at
    > >> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
    > >> .executeProduceConsume(ExecuteProduceConsume.java:303) at
    > >> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
    > >> .produceConsume(ExecuteProduceConsume.java:148) at
    > >> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
    > >> .run(ExecuteProduceConsume.java:136) at java.util.concurrent.ThreadPoo
    > >> lExecutor.runWorker(ThreadPoolExecutor.java:1149) at
    > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(
    > ThreadPoolExecutor.java:624)
    > >> at java.lang.Thread.run(Thread.java:748)
    > >>
    > >
    > >
    >
    

Reply via email to