[
https://issues.apache.org/jira/browse/HIVE-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324967#comment-15324967
]
Abdullah Yousufi edited comment on HIVE-13964 at 6/10/16 6:22 PM:
------------------------------------------------------------------
I resolved the first issue and now the error is set to 1 in that case.
The second issue is pretty important though, because that was the issue
HIVE-6652 addressed, so it's not good if it still exists. However, I checked
and it seems that's the current behavior, so my patch doesn't reintroduce that
issue. This is what I get if I do this in the repo (or with my patch):
{code}
$ ./beeline BLA
Beeline version 2.2.0-SNAPSHOT by Apache Hive
beeline>
{code}
Note, how I don't get the 'No such file or directory' statement error. What
behavior do we want here? It seems that the fix from HIVE-6652 was reverted at
some point. [~xuefuz]
was (Author: ayousufi):
I resolved the first issue and now the error is set to 1 in that case.
The second issue is pretty important though, because that was the issue
HIVE-6652 addressed, so it's not good if it still exists. However, I checked
and it seems that's the current behavior in upstream currently, so my patch
doesn't reintroduce that issue. This is what I get if I do this in upstream (or
with my patch):
{code}
$ ./beeline BLA
Beeline version 2.2.0-SNAPSHOT by Apache Hive
beeline>
{code}
Note, how I don't get the 'No such file or directory' statement error. What
behavior do we want here? It seems that the fix from HIVE-6652 was reverted at
some point. [~xuefuz]
> 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)