[ 
https://issues.apache.org/jira/browse/HIVE-22645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002456#comment-17002456
 ] 

Mustafa Iman commented on HIVE-22645:
-------------------------------------

I have been seeing a similar problem past last week. In my case, terminal 
stopped echoing input characters after running any qtest. I found out that the 
root cause for both this issue and my issue happen because jline turns off stty 
settings "-icanon min 1 -icrnl -inlcr -ixon -echo" and fails to restore them 
after jvm exits. This issue has been solved in 
[https://github.com/jline/jline2/issues/163] . 

I think this patch is good but it does not solve the problem completely unless 
you update `jline.version` in root pom.xml along with standalone metastore. 
Please update jline version in root pom xml too.

> Jline can break bash terminal behavior
> --------------------------------------
>
>                 Key: HIVE-22645
>                 URL: https://issues.apache.org/jira/browse/HIVE-22645
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22645.01.patch, HIVE-22645.01.patch
>
>
> After HIVE-21954, running a qtest can break bash terminal (but not zsh), in a 
> way that, e.g. enter key doesn't break line...
> As identified by [~kgyrtkirk], this line could cause this: 
> https://github.com/apache/hive/commit/d645d827d95de36175194407bd1e2f6725362aff#diff-c64cf2b501f04e6710bbc3fcd079156fR84



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to