How to quit beeline?

user4503253 picture user4503253 · Mar 12, 2016 · Viewed 38.1k times · Source

I am using CDH 5.5 and need to use beeline. I am pretty new to it and learning it now. I can start beeline but cannot quit as we do in Hive. I need to use Ctrl+z to quit which is not the proper way. Can someone help?

Answer

Alex Raj Kaliamoorthy picture Alex Raj Kaliamoorthy · Mar 12, 2016

use !q or !quit

[cloudera@quickstart ~]$ beeline

Beeline version 1.1.0-cdh5.5.0 by Apache Hive

beeline> !q

[cloudera@quickstart ~]$

Thanks to Xuefu Zhang. Related Jira