We can follow the document to build up your Hive environment.
Please create a VM account to let the Hive client can login into the Hive server.
Build up your own jupyter notebook docker image.
You can also use
simon3458/jupyter-notebook-hive:0.1.0docker image directly to create the notebook.
Get the Dockerfile.
$ git clone <https://github.com/InfuseAI/showcase>
$ cd showcase/control-hive-in-notebook/
Build up docker images:
$ docker build -t <workspace-name>/jupyter-notebook-hive:0.1.0 .
Push to docker registry:
If you want to push the docker image into the docker registry platform, then you need to use
docker loginornerdctl loginto login into the platform.
$ docker push <workspace-name>/jupyter-notebook-hive:0.1.0
Create a Jupyter notebook.

Create a terminal.

Follow the command line to login to the Hive server.
jovyan@jupyter-phadmin:~$ beeline
log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
Beeline version 2.3.9 by Apache Hive
beeline> !connect jdbc:hive2://<hive-ip-address>:<hive-port>
Enter username for jdbc:hive2://<hive-ip-address>:<hive-port>: <hive-server-username>
Enter password for jdbc:hive2://<hive-ip-address>:<hive-port>: <hive-server-password>
Connected to: Apache Hive (version 2.3.2)
Driver: Hive JDBC (version 2.3.9)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://18.179.53.185:10000> show databases;
+----------------+
| database_name |
+----------------+
| default |
| testdb |
+----------------+
2 rows selected (0.248 seconds)
How do I install the "Beeline" Hive client?