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

Sergio Peña commented on HIVE-13964:
------------------------------------

#2 is ok. It is displayed now. Maybe I wasn't noticing it.

#3 It does exit.

There are other problems.

If the file passed does not exist, it exits (OK), but the exit error is 0, We 
should have an error number higher than 0. Sometimes users use this number on 
their scripts to see if beeline run correctly or not.
 
{noformat}
# beeline --property-file /tmp/a
/tmp/a (No such file or directory)
Beeline version 2.2.0-SNAPSHOT by Apache Hive

# echo $?
0
{noformat}

If I pass a different argument, Beeline only displays 'No such file or 
directory', and it continues with it.

{noformat}
# beeline BLA
Beeline version 2.2.0-SNAPSHOT by Apache Hive
No such file or directory
beeline>
{noformat}

> 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-13964.02.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)

Reply via email to