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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.1.0, 3.1.1, 4.0.0
    • 4.0.0-alpha-2
    • Beeline
    • 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

              himanshum Himanshu Mishra
              himanshum Himanshu Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: