hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denes Bodo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20088) Beeline config location path is assembled incorrectly
Date Mon, 09 Jul 2018 10:57:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-20088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Denes Bodo updated HIVE-20088:
------------------------------
    Attachment: HIVE-20088_002 copy.patch

> Beeline config location path is assembled incorrectly
> -----------------------------------------------------
>
>                 Key: HIVE-20088
>                 URL: https://issues.apache.org/jira/browse/HIVE-20088
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 3.0.0
>            Reporter: Denes Bodo
>            Assignee: Denes Bodo
>            Priority: Critical
>              Labels: easyfix, usability
>         Attachments: HIVE-20088_001.patch, HIVE-20088_002-2.patch, HIVE-20088_002.patch
>
>
> Checking the code in
> [https://github.com/apache/hive/blob/branch-3/beeline/src/java/org/apache/hive/beeline/hs2connection/UserHS2ConnectionFileParser.java]
> or in
> [https://github.com/apache/hive/blob/branch-3/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java]
> I see {code}locations.add(ETC_HIVE_CONF_LOCATION + DEFAULT_BEELINE_SITE_FILE_NAME);{code}
> whee file separator shall be used:
> {code}locations.add(ETC_HIVE_CONF_LOCATION + File.separator + DEFAULT_BEELINE_SITE_FILE_NAME);{code}
> Due to this, BeeLine cannot use configuration in case if this would be the only way.
> In my hadoop-3 setup, the locations list contains the following:
> {code}
> /home/myuser/.beeline/beeline-site.xml
> /etc/hive/confbeeline-site.xml
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message