[ https://issues.apache.org/jira/browse/ATLAS-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Péter Gergő Barna reassigned ATLAS-2180: ---------------------------------------- Assignee: Péter Gergő Barna > Regression : Hive hook is broken > -------------------------------- > > Key: ATLAS-2180 > URL: https://issues.apache.org/jira/browse/ATLAS-2180 > Project: Atlas > Issue Type: Bug > Components: atlas-intg > Affects Versions: 1.0.0 > Reporter: Sharmadha Sainath > Assignee: Péter Gergő Barna > Priority: Blocker > > Hive table creation succeeded but while invoking Atlas hook , following error > message seen in hive logs : > {code} > 2017-09-27 06:29:26,084 INFO [Atlas Logger 0]: hook.HiveHook > (HiveHook.java:collect(244)) - Entered Atlas hook for hook type > POST_EXEC_HOOK, operation CREATETABLE , user null as hive > 2017-09-27 06:29:26,084 INFO [HiveServer2-Background-Pool: Thread-236]: > log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) - <PERFLOG > method=releaseLocks from=org.apache.hadoop.hive.ql.Driver> > 2017-09-27 06:29:26,084 INFO [HiveServer2-Background-Pool: Thread-236]: > log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) - </PERFLOG > method=releaseLocks start=1506493766084 end=1506493766084 duration=0 > from=org.apache.hadoop.hive.ql.Driver> > 2017-09-27 06:29:26,085 INFO [HiveServer2-Background-Pool: Thread-236]: > log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) - </PERFLOG > method=Driver.run start=1506493763780 end=1506493766085 duration=2305 > from=org.apache.hadoop.hive.ql.Driver> > 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook > (HiveHook.java:run(205)) - Atlas hook failed due to error > java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException > at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246) > at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83) > at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198) > 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:195) > 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) > Caused by: java.lang.ClassNotFoundException: > org.apache.atlas.AtlasServiceException > at java.lang.ClassLoader.findClass(ClassLoader.java:530) > at > org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at > org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136) > ... 12 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)