[ https://issues.apache.org/jira/browse/HIVE-22056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Himanshu Mishra updated HIVE-22056: ----------------------------------- Description: 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. Looks like this bug got introduced with the fix for HIVE-19744 In previous versions it used to exit with code 2, fixing by exiting with same code. was: 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. In previous versions it used to exit with code 2, fixing by exiting with same code. > 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.0, 4.0.0, 3.1.1 > 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. > Looks like this bug got introduced with the fix for 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)