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

beeline may go into an infinite loop when using EOF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      The problem can be reproduced by a simple query:

      $HIVE_HOME/bin/beeline -u <host> -n <username> -p <password> <<EOF
      > show databases;
      > EOF
      

      Then, it will go into an infinite loop and keep printing command prompt.

      Attachments

        Issue Links

          Activity

            People

              csun Chao Sun
              csun Chao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: