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

Madhan Neethiraj updated ATLAS-1598:
------------------------------------
    Attachment: ATLAS-1598.patch

Review board URL: https://reviews.apache.org/r/57067/

> NPE in HiveHook while processing create-table
> ---------------------------------------------
>
>                 Key: ATLAS-1598
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1598
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-intg
>    Affects Versions: 0.8-incubating
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-1598.patch
>
>
> Following NPE is seen when Atlas Hive hook processes 'create table' command.
> 2017-02-25 14:18:12,102 ERROR [Atlas Logger 1]: hook.HiveHook 
> (HiveHook.java:run(201)) - Atlas hook failed due to error
> java.lang.NullPointerException
>         at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:251)
>         at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:79)
>         at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>         at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:191)
>         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)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to