Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22056

Beeline started with -f <script-file>, exit code is 0 even if unable to connect to HS2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.1.0, 4.0.0, 3.1.1
    • Fix Version/s: 4.0.0
    • Component/s: Beeline
    • Labels:
      None

      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.

        Attachments

        1. HIVE-22056.patch
          0.7 kB
          Himanshu Mishra

          Issue Links

            Activity

              People

              • Assignee:
                himanshum Himanshu Mishra
                Reporter:
                himanshum Himanshu Mishra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: