Hive has upgraded to jline2 in HIVE-8609 due to a serious bug we found in HIVE-8565. It'd be great if Zookeeper could upgrade as well.
Support JLine 2
beeline may go into an infinite loop when using EOF
Remove jline from hadoop-yarn-server-common
Move beeline to jline2