Connecting Hive in Bitnami

Bitnami Virtual Machines contain a minimal Linux operating system with Hadoop installed and configured. Using the Bitnami Virtual Machine image requires hypervisor software such as VMware Player or VirtualBox. Both of these hypervisors are available free of charge.

Click here to download.

After you’ve downloaded the file, open VMware and select “Open a Virtual Machine” from the menu. It will ask you where you want the file to be extracted. Once done, the virtual machine will be created.

Open it and log in as directed on the login page. On the screen, the default username and password will be displayed. To access the console, enter the required information.

In the console, use the following command to switch over to Hive.
beeline -u jdbc:hive2://localhost:10000 -n hadoop

You will be connected to Hive and the following prompt will be shown on the screen.
0: jdbc:hive2://localhost:10000>

You can use ‘SHOW DATABASES” to get the ‘default’ database.

Hope you find this post informative.

Please subscribe for more interesting updates.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s