Using Hive w/ Docker#
docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hiveserver2 apache/hive:4.0.0
docker rm hiveserver2
docker exec -it hiveserver2 beeline -u 'jdbc:hive2://localhost:10000/'
docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hiveserver2 apache/hive:4.0.0
docker rm hiveserver2
docker exec -it hiveserver2 beeline -u 'jdbc:hive2://localhost:10000/'