You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/01/04 09:36:58 UTC

[jira] [Updated] (ATLAS-1052) Fix NPE in HiveHook due to null Session State

     [ https://issues.apache.org/jira/browse/ATLAS-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated ATLAS-1052:
------------------------------------
    Fix Version/s:     (was: 0.7-incubating)
                   0.7.1-incubating

Committed to 0.7-incubating branch: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/b9fb9ed1b652185f9de0e8dc8e8a27233ba4e346

> 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.8-incubating, 0.7.1-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)