[
https://issues.apache.org/jira/browse/ATLAS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-1338:
------------------------------------
Fix Version/s: 0.8-incubating
Committed to master:
http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/389ec561
> Fix SqoopHookIT failure
> -----------------------
>
> Key: ATLAS-1338
> URL: https://issues.apache.org/jira/browse/ATLAS-1338
> Project: Atlas
> Issue Type: Bug
> Reporter: Ayub Pathan
> Assignee: Ayub Pathan
> Priority: Major
> Fix For: 0.8-incubating
>
> 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
(v7.6.3#76005)