Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.3.2
-
None
-
None
Description
Hiveconf initiated in "fat jar" assembled by spring boot maven plugin cannot access configuratiuon file, getting uri is not hierarchical (constructed URI starts with jar: ).
e.g.
_jar:file:/opt/someproject/someproject.jar!/BOOT-INF/lib/hive-common-2.3.2.jar!/_
relebant stack trace
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:418) ~[?:1.8.0_144]
at org.apache.hadoop.hive.conf.HiveConf.findConfigFile(HiveConf.java:176) ~[hive-common-2.3.2.jar!/:2.3.2]
Attachments
Issue Links
- duplicates
-
HIVE-23700 HiveConf static initialization fails when JAR URI is opaque
- Patch Available