You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2016/05/19 03:09:13 UTC
[jira] [Created] (ATLAS-810) CTAS tables creation throw exceptions
in Atlas ,but the tables are imported and lineage graphs are also rendered.
Sharmadha Sainath created ATLAS-810:
---------------------------------------
Summary: CTAS tables creation throw exceptions in Atlas ,but the tables are imported and lineage graphs are also rendered.
Key: ATLAS-810
URL: https://issues.apache.org/jira/browse/ATLAS-810
Project: Atlas
Issue Type: Bug
Environment: Atlas (commit id : 98769871e56d9a97792e2dba52345e876908ac63 )
HBase , External Kafka, Solr
Reporter: Sharmadha Sainath
Priority: Minor
Atlas is populated with "n" tables and then CTAS tables are created from those"n" tables.
Atlas throws the following exceptions :
2016-05-19 02:59:39,362 ERROR - [NotificationHookConsumer thread-0:] ~ Unable to persist entity instance (EntityResource:148)
java.lang.NullPointerException
at org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:124)
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:580)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-05-19 02:59:39,379 WARN - [NotificationHookConsumer thread-0:] ~ Error handling message org.apache.atlas.notification.hook.HookNotification$EntityCreateRequest@24fc6736 (NotificationHookConsumer:233)
org.apache.atlas.AtlasServiceException: Metadata service API CREATE_ENTITY failed with status 500(Internal Server Error) Response Body (java.lang.NullPointerException
at org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:124)
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:580)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
)
at org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:122)
at org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:580)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-05-19 02:59:39,380 DEBUG - [NotificationHookConsumer thread-0:] ~ Committed offset: 2 (KafkaConsumer:96)
No exceptions in Hive logs.
But all CTAS tables are imported and lineage graphs are properly rendered on Atlas UI.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)