You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2018/06/01 17:52:00 UTC

[jira] [Updated] (HIVE-19728) beeline with USE_BEELINE_FOR_HIVE_CLI fails when trying to set hive.aux.jars.path

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

Vaibhav Gumashta updated HIVE-19728:
------------------------------------
          Resolution: Fixed
        Hadoop Flags: Reviewed
    Target Version/s: 3.1.0, 3.0.1
              Status: Resolved  (was: Patch Available)

Committed to master and branch-3. Thanks a lot [~dvoros].

> beeline with USE_BEELINE_FOR_HIVE_CLI fails when trying to set hive.aux.jars.path
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-19728
>                 URL: https://issues.apache.org/jira/browse/HIVE-19728
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Daniel Voros
>            Assignee: Daniel Voros
>            Priority: Major
>         Attachments: HIVE-19728.1.patch
>
>
> Since HIVE-19385 it's possible to redirect bin/hive to beeline. This is not working as expected though, because in {{bin/hive}} we're setting {{hive.aux.jars.path}}. This leads to the following error:
> {code}
> $ USE_BEELINE_FOR_HIVE_CLI=true hive
> ...
> Error: Could not open client transport for any of the Server URI's in ZooKeeper: Failed to open new session: java.lang.IllegalArgumentException: Cannot modify hive.aux.jars.path at runtime. It is not in list of params that are allowed to be modified at runtime (state=08S01,code=0)
> Beeline version 3.0.0 by Apache Hive
> beeline> 
> {code}
> We already avoid setting {{hive.aux.jars.path}} when running {{beeline}} service but the USE_BEELINE_FOR_HIVE_CLI override happens after that.
> I'd suggest checking the value of USE_BEELINE_FOR_HIVE_CLI right after we've selected the service to run (cli/beeline/...) and override cli->beeline there.



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