[ https://issues.apache.org/jira/browse/AMBARI-18223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429919#comment-15429919 ]
Alejandro Fernandez commented on AMBARI-18223: ---------------------------------------------- +1 > Atlas hook impl jars should be copied instead of the top level atlas hive > hook jars for oozie hive action > --------------------------------------------------------------------------------------------------------- > > Key: AMBARI-18223 > URL: https://issues.apache.org/jira/browse/AMBARI-18223 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Venkat Ranganathan > Assignee: Venkat Ranganathan > Priority: Critical > Fix For: trunk > > Attachments: AMBARI-18223.patch > > > If we have the complete hive hook copied to Hive sharelib, then after > localization all the classpaths are there and this leads to stack overflow > errors like below > {noformat} > oading data to table default.hcatprocesstest_output_table partition > (dt=2010-01-01-20) > Partition default.hcatprocesstest_output_table{dt=2010-01-01-20} stats: > [numFiles=1, numRows=3, totalSize=30, rawDataSize=27] > Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], > main() threw exception, null > java.lang.StackOverflowError > at java.lang.Exception.<init>(Exception.java:102) > at > java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89) > at > java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72) > at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown > Source) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at java.lang.Class.newInstance(Class.java:442) > at org.apache.atlas.hive.hook.HiveHook.initialize(HiveHook.java:76) > at org.apache.atlas.hive.hook.HiveHook.<init>(HiveHook.java:41) > at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown > Source) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at java.lang.Class.newInstance(Class.java:442) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)