You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Himanshu Mishra (JIRA)" <ji...@apache.org> on 2019/07/26 14:08:00 UTC
[jira] [Updated] (HIVE-22056) Beeline started with -f
, exit code is 0 even if unable to connect to HS2
[ https://issues.apache.org/jira/browse/HIVE-22056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Himanshu Mishra updated HIVE-22056:
-----------------------------------
Fix Version/s: 4.0.0
Attachment: HIVE-22056.patch
Status: Patch Available (was: Open)
> Beeline started with -f <script-file>, exit code is 0 even if unable to connect to HS2
> --------------------------------------------------------------------------------------
>
> Key: HIVE-22056
> URL: https://issues.apache.org/jira/browse/HIVE-22056
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Affects Versions: 3.1.1, 3.1.0, 4.0.0
> Reporter: Himanshu Mishra
> Assignee: Himanshu Mishra
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22056.patch
>
>
> When Beeline in hive 3 is started with -f <script-file> argument, even if it is not able to connect to HS2 server, it exits with success code i.e. 0. This is a regression of HIVE-19744.
> In previous versions it used to exit with code 2, fixing by exiting with same code.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)