[ https://issues.apache.org/jira/browse/HIVE-8565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180993#comment-14180993 ]
Brock Noland commented on HIVE-8565: ------------------------------------ Can you reproduce if you revert his commit? https://github.com/apache/hive/commit/35094222c4af6e8b8df91e2314040e2c45415bd6 this method is only used the terminal is not supported: https://github.com/jline/jline/blob/jline-2.5/src/main/java/jline/console/ConsoleReader.java#L1076 > beeline may go into an infinite loop when using EOF > --------------------------------------------------- > > Key: HIVE-8565 > URL: https://issues.apache.org/jira/browse/HIVE-8565 > Project: Hive > Issue Type: Bug > Reporter: Chao > Assignee: Chao > > The problem can be reproduced by a simple query: > {noformat} > $HIVE_HOME/bin/beeline -u <host> -n <username> -p <password> <<EOF > > show databases; > > EOF > {noformat} > Then, it will go into an infinite loop and keep printing command prompt. -- This message was sent by Atlassian JIRA (v6.3.4#6332)