[ https://issues.apache.org/jira/browse/ATLAS-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788835#comment-17788835 ]
ASF subversion and git services commented on ATLAS-4184: -------------------------------------------------------- Commit 0f331aa63095bae010f2c4cb0a76e58eb5606e1b in atlas's branch refs/heads/master from Madhan Neethiraj [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=0f331aa63 ] ATLAS-4184: updated build/python scripts to replace references to python with python3 > [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 > Components: atlas-core > Reporter: Dharshana M Krishnamoorthy > Priority: Major > > 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.20.10#820010)