You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Danny Polonsky (JIRA)" <ji...@apache.org> on 2019/05/05 07:17:00 UTC
[jira] [Created] (HIVE-21692) findConfigFile fails to retrieve
configuration from hive-common jar from "fat jar"
Danny Polonsky created HIVE-21692:
-------------------------------------
Summary: findConfigFile fails to retrieve configuration from hive-common jar from "fat jar"
Key: HIVE-21692
URL: https://issues.apache.org/jira/browse/HIVE-21692
Project: Hive
Issue Type: Bug
Components: Configuration
Affects Versions: 2.3.2
Reporter: Danny Polonsky
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]_
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)