You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2017/07/22 00:14:00 UTC

[jira] [Commented] (HIVE-17155) findConfFile() in HiveConf.java has some issues with the conf path

    [ https://issues.apache.org/jira/browse/HIVE-17155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097018#comment-16097018 ] 

Aihua Xu commented on HIVE-17155:
---------------------------------

patch-1: fixed the trivial issues with the function. Also added the support if the the hive libs are in the shaded jar of the format jar:/file/path/.

> findConfFile() in HiveConf.java has some issues with the conf path
> ------------------------------------------------------------------
>
>                 Key: HIVE-17155
>                 URL: https://issues.apache.org/jira/browse/HIVE-17155
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Minor
>         Attachments: HIVE-17155.1.patch
>
>
> In findConfFile() function of HiveConf.java, here are some issues. File.pathSeparator which is ":" is used as the separator rather than "/". new File(jarUri).getParentFile() will get the "$hive_home/lib" folder, but actually we want "$hive_home".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)