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 2018/05/17 01:42:00 UTC
[jira] [Updated] (ATLAS-2180) Regression : Hive hook is broken
[ https://issues.apache.org/jira/browse/ATLAS-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-2180:
------------------------------------
Fix Version/s: (was: 0.8-incubating)
(was: trunk)
0.8.3
1.0.0
> 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: Apoorv Naik
> Priority: Blocker
> Fix For: 1.0.0, 0.8.3
>
>
> 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
(v7.6.3#76005)