[ https://issues.apache.org/jira/browse/ATLAS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702177#comment-15702177 ]
Ayub Khan edited comment on ATLAS-1338 at 11/28/16 3:08 PM: ------------------------------------------------------------ [~madhan.neethiraj] / [~apoorvnaik] / [~sarath.ku...@gmail.com] Attaching patch for review. was (Author: ayubkhan): Attaching patch for review. > Fix SqoopHookIT failure > ----------------------- > > Key: ATLAS-1338 > URL: https://issues.apache.org/jira/browse/ATLAS-1338 > Project: Atlas > Issue Type: Bug > Reporter: Ayub Khan > Assignee: Ayub Khan > Attachments: ATLAS-1338.patch > > > SqoopHookIT fails with below error > {noformat} > 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) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)