hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdullah Yousufi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13964) Add a parameter to beeline to allow a properties file to be passed in
Date Thu, 09 Jun 2016 18:41:21 GMT

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

Abdullah Yousufi commented on HIVE-13964:
-----------------------------------------

Thanks for the review, Sergio.

1. Fixed:
{code}
if (propertyFile != null) {
    dispatch("!properties " + propertyFile);
}
{code}

2. That's strange, because I just tried that case and this was my output:
{code}
$ ./beeline --property-file
Missing argument for option: property-file
Usage: java org.apache.hive.cli.beeline.BeeLine 
   -u <database url>               the JDBC URL to connect to
...
{code}
Could you try another parameter without any arguments, such as --hiveconf and see if it prints
out the "Missing argument..." error for that?

3. Added a fix for this to exit, but can undo this if necessary.

Let me know about points 2 and 3, and then I can upload another patch.

> Add a parameter to beeline to allow a properties file to be passed in
> ---------------------------------------------------------------------
>
>                 Key: HIVE-13964
>                 URL: https://issues.apache.org/jira/browse/HIVE-13964
>             Project: Hive
>          Issue Type: New Feature
>          Components: Beeline
>    Affects Versions: 2.0.1
>            Reporter: Abdullah Yousufi
>            Assignee: Abdullah Yousufi
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13964.01.patch
>
>
> HIVE-6652 removed the ability to pass in a properties file as a beeline parameter. It
may be a useful feature to be able to pass the file in is a parameter, such as --property-file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message