How to stop beeline?

I am using CDH 5.5 and you need to use beeline. I am new to this and am studying it now. I can start a beeline, but I can’t leave, as in Hive. I need to use Ctrl + z to exit, which is not the right way. Can anyone help?

+6
source share
6 answers

use !q or !quit

[cloudera @quickstart ~] $ beeline

Beeline version 1.1.0-cdh5.5.0 from Apache Hive

beeline>! q

[cloudera @quickstart ~] $

Thanks Xuef Zhang. Bound Jira

+16
source

Sometimes you may come across some inexhaustible team that Hive still thinks you're coming in. If your "! Quit" command does not work, enter the termination character (;) and try exiting again.

--- --- Example

 Beeline version 1.1.0-cdh5.7.1 by Apache Hive beeline> some unterminated command beeline> ! quit beeline> <panic!> beeline> <remember the need to terminate previous commands> beeline> ; No current connection beeline> ! quit 
+4
source

Exiting the beeline client:

 !quit 
+2
source

Using Clouder 5.5.1,

use Ctrl + C to exit

+2
source

Beeline>! Give up

It is really useful to exit beeline.

0
source

I tried! q as well! Exiting it did not work in HDP 2.5./Beeline version 1.2.1000.2.5.3.

Finally

! quit or! q (space required)

0
source

All Articles