You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2021/03/04 08:50:00 UTC
[jira] [Created] (ATLAS-4184) [Atlas] Need a way to perform bulk
delete typedef when knox proxy is enabled
Dharshana M Krishnamoorthy created ATLAS-4184:
-------------------------------------------------
Summary: [Atlas] Need a way to perform bulk delete typedef when knox proxy is enabled
Key: ATLAS-4184
URL: https://issues.apache.org/jira/browse/ATLAS-4184
Project: Atlas
Issue Type: Improvement
Reporter: Dharshana M Krishnamoorthy
While performing bulk delete operation on typedef, NullPointerException is thrown
{code:java}
2021-03-04 08:04:09,523 INFO - [etp1020520290-753 - a28b425d-7409-4891-b440-6cc41daf3a16:knox:DELETE/api/atlas/v2/types/typedefs] ~ GraphTransaction intercept for org.apache.atlas.repository.store.graph.v2.AtlasTypeDefGraphStoreV2.deleteTypesDef (GraphTransactionAdvisor$1:41)
2021-03-04 08:04:09,526 ERROR - [etp1020520290-753 - a28b425d-7409-4891-b440-6cc41daf3a16:knox:DELETE/api/atlas/v2/types/typedefs] ~ graph rollback due to exception (GraphTransactionInterceptor:192)
java.lang.NullPointerException
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.deleteTypesDef(AtlasTypeDefGraphStore.java:565)
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore$$FastClassBySpringCGLIB$$5226c80b.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:540)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:395)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2021-03-04 08:04:03,989 INFO - [etp1020520290-753:] ~ Logged into Atlas as = HTTP (AtlasAuthenticationFilter$KerberosFilterChainWrapper:726){code}
Delete call body:
{code:java}
{"businessMetadataDefs": [{"name": "bm_xvsym_1"}, {"name": "bm_xvsym_2"}]} {code}
This is used to perform bulk create and perform bulk delete.
While knox proxy is enabled, NullPointerException is thrown
Need an alternate way to perform bulk delete with knox enabled
--
This message was sent by Atlassian Jira
(v8.3.4#803005)