You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ranjan Choudhury (JIRA)" <ji...@apache.org> on 2018/02/28 08:41:00 UTC

[jira] [Updated] (HIVE-18821) Add jar in hive is not working when executed from beeline

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

Ranjan Choudhury updated HIVE-18821:
------------------------------------
    Description: 
Add jar in hive is not working when executed from beeline.
 Steps to reproduce:
 1. Run beeline
 2. Connect to hive using command !connect jdbc:hive2://localhost:10000
 3. Provide username/password
 4. Execute: add jar <jarPathName>;

it throws exception "Error: Error while processing statement: /home/ranjan/token-mask/bedrock-masking-UDF-5.0.0-FINAL.jar does not exist (state=,code=1)" even though there are files in <jarPathName>. When i execute the command hive CLI, it works successfully.

  was:
The command dfs -ls is not producing any output when executed from beeline even though there are files in hdfs.
Steps to reproduce:
1. Run beeline
2. Connect to hive using command !connect jdbc:hive2://localhost:10000
3. Provide username/password
4. Execute dfs -ls /user

There is not output of the command dfs -ls /user, even though there are files in HDFS. When i execute the command hive CLI, it works.

        Summary: Add jar in hive is not working when executed from beeline  (was: dfs -ls not working when executed from beeline)

> Add jar in hive is not working when executed from beeline
> ---------------------------------------------------------
>
>                 Key: HIVE-18821
>                 URL: https://issues.apache.org/jira/browse/HIVE-18821
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.2.1
>         Environment: Hive 1.2.1000.2.5.3.0-37
> Hadoop 2.7.3.2.5.3.0-37
>            Reporter: Ranjan Choudhury
>            Priority: Critical
>
> Add jar in hive is not working when executed from beeline.
>  Steps to reproduce:
>  1. Run beeline
>  2. Connect to hive using command !connect jdbc:hive2://localhost:10000
>  3. Provide username/password
>  4. Execute: add jar <jarPathName>;
> it throws exception "Error: Error while processing statement: /home/ranjan/token-mask/bedrock-masking-UDF-5.0.0-FINAL.jar does not exist (state=,code=1)" even though there are files in <jarPathName>. When i execute the command hive CLI, it works successfully.



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