Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4184

[Atlas] Need a way to perform bulk delete typedef when knox proxy is enabled

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: atlas-core
    • Labels:
      None

      Description

      While performing bulk delete operation on typedef, NullPointerException is thrown

       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)

      Delete call body:

      {"businessMetadataDefs": [{"name": "bm_xvsym_1"}, {"name": "bm_xvsym_2"}]} 

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dharshmk Dharshana M Krishnamoorthy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: