[ https://issues.apache.org/jira/browse/HIVE-22056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894420#comment-16894420 ]
Himanshu Mishra commented on HIVE-22056: ---------------------------------------- [~kgyrtkirk] can you please review ? > 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. > 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)