[
https://issues.apache.org/jira/browse/ATLAS-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435838#comment-17435838
]
kaishen commented on ATLAS-4193:
--------------------------------
I've find the reason : the AtlasPluginClassLoader didn't find the actual impl
class from subdir "atlas-%-plugin-impl"
> StackOverFlowError if HiveHook from hive-bridge-shim jar gets loaded into HS2
> classpath
> ---------------------------------------------------------------------------------------
>
> Key: ATLAS-4193
> URL: https://issues.apache.org/jira/browse/ATLAS-4193
> Project: Atlas
> Issue Type: Bug
> Reporter: Naresh P R
> Priority: Major
>
> https://github.com/apache/atlas/blob/master/addons/hive-bridge-shim/src/main/java/org/apache/atlas/hive/hook/HiveHook.java#L71-L76
> Constructor() -> initialize() -> Constructor()
> {code:java}
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> ~[?:1.8.0_242]
> at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_242]
> at org.apache.atlas.hive.hook.HiveHook.initialize(HiveHook.java:76)
> ~[hive-bridge-shim-2.0.0.jar:2.0.0]
> at org.apache.atlas.hive.hook.HiveHook.<init>(HiveHook.java:41)
> ~[hive-bridge-shim-2.0.0.jar:2.0.0]
> at sun.reflect.GeneratedConstructorAccessor104.newInstance(Unknown Source)
> ~[?:?]
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> ~[?:1.8.0_242]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> ~[?:1.8.0_242]
> at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_242]
> at org.apache.atlas.hive.hook.HiveHook.initialize(HiveHook.java:76)
> ~[hive-bridge-shim-2.0.0.jar:2.0.0]
> at org.apache.atlas.hive.hook.HiveHook.<init>(HiveHook.java:41)
> ~[hive-bridge-shim-2.0.0.jar:2.0.0]{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)