[
https://issues.apache.org/jira/browse/ATLAS-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suma Shivaprasad updated ATLAS-1052:
------------------------------------
Attachment: ATLAS-1052.patch
> Fix NPE in HiveHook due to null Session State
> ---------------------------------------------
>
> Key: ATLAS-1052
> URL: https://issues.apache.org/jira/browse/ATLAS-1052
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.7-incubating
> Reporter: Suma Shivaprasad
> Assignee: Suma Shivaprasad
> Fix For: 0.7-incubating, 0.8-incubating
>
> Attachments: ATLAS-1052.patch
>
>
> {noformat}
> 2016-07-25 11:12:16,568 INFO [Atlas Logger 1]: hook.HiveHook
> (HiveHook.java:fireAndForget(202)) - Entered Atlas hook for hook type
> POST_EXEC_HOOK operation QUERY
> 2016-07-25 11:12:16,568 ERROR [Atlas Logger 1]: hook.HiveHook
> (HiveHook.java:run(188)) - Atlas hook failed due to error
> java.lang.NullPointerException
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getTableQualifiedName(HiveMetaStoreBridge.java:365)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getTableQualifiedName(HiveMetaStoreBridge.java:383)
> at
> org.apache.atlas.hive.hook.HiveHook.processHiveEntity(HiveHook.java:621)
> at
> org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveHook.java:599)
> at org.apache.atlas.hive.hook.HiveHook.fireAndForget(HiveHook.java:227)
> at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:82)
> at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:186)
> 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)
> Options
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)