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

Fix SqoopHookIT failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8-incubating
    • None
    • None

    Description

      SqoopHookIT fails with below error

      org.apache.atlas.typesystem.exception.TypeNotFoundException: Unknown datatype: sqoop_dbdatastore
              at org.apache.atlas.typesystem.types.TypeSystem.getDataType(TypeSystem.java:192)
              at org.apache.atlas.repository.graph.GraphHelper.getTypedReferenceableInstance(GraphHelper.java:742)
              at org.apache.atlas.repository.graph.GraphHelper.deserializeClassInstances(GraphHelper.java:726)
              at org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:280)
              at org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:268)
              at org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:130)
              at org.apache.atlas.LocalAtlasClient$1.invoke(LocalAtlasClient.java:82)
              at org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:118)
              at org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
              at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:486)
              at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:221)
              at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:202)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      2016-11-28 20:27:30,108 WARN  - [NotificationHookConsumer thread-0:] ~ Error handling messageMetadata service API CREATE_ENTITY failed with status 400 (Bad Request) Response Body (org.apache.atlas.typesystem.exception.TypeNotFoundException: Unknown datatype: sqoop_dbdatastore
              at org.apache.atlas.typesystem.types.TypeSystem.getDataType(TypeSystem.java:192)
              at org.apache.atlas.repository.graph.GraphHelper.getTypedReferenceableInstance(GraphHelper.java:742)
              at org.apache.atlas.repository.graph.GraphHelper.deserializeClassInstances(GraphHelper.java:726)
              at org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:280)
              at org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:268)
              at org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:130)
              at org.apache.atlas.LocalAtlasClient$1.invoke(LocalAtlasClient.java:82)
              at org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:118)
              at org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
              at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:486)
              at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:221)
              at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:202)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      ) (NotificationHookConsumer$HookConsumer:252)
      

      Attachments

        1. ATLAS-1338.patch
          2 kB
          Ayub Pathan

        Activity

          People

            ayubpathan Ayub Pathan
            ayubpathan Ayub Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: