Monday, August 21, 2017

Beeline


What is Beeline?


Hive community introduced HiveServer2, an enhanced Hive server designed for multi-client concurrency and improved authentication that also provides better support for clients connecting through JDBC and ODBC. Now HiveServer2, with Beeline as the command-line interface.

Beeline connects to a remote HiveServer2 instance using JDBC. Thus, the connection parameter is

beeline -u  <url> -n <username> -p <password>

Eg:

beeline -u jdbc:hive2://localhost:10000/default -n hive -p hive

In cluster node need to specify the client host name that runs Hive .

1 comment:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    https://www.emexotechnologies.com/online-courses/big-data-hadoop-training-in-electronic-city/

    ReplyDelete