abstractdog commented on code in PR #6390: URL: https://github.com/apache/hive/pull/6390#discussion_r3027693024
########## packaging/src/docker/README.md: ########## @@ -189,6 +189,32 @@ To stop/remove them all, docker compose down ``` +#### Starting an LLAP cluster with Docker Compose + +The compose file `packaging/src/docker/docker-compose.yml` can start a cluster with LLAP daemons (discovered via Zookeeper) if the `llap` profile is activated. + +Use the following workflow from `packaging/src/docker`: + +```shell +docker-compose down --rmi local # cleanup previous containers and images + +export POSTGRES_LOCAL_PATH=... # set the path to the postgres driver jar on the host machine +./build.sh -hive 4.2.0 -hadoop 3.4.1 -tez 0.10.5 # build image from the common Dockerfile +./start-hive.sh --llap +``` + +To view LLAP logs: + +```shell +docker compose logs -f llapdaemon1 llapdaemon2 Review Comment: this works: ``` docker compose logs -f llapdaemon ``` it's the best option I believe to show llap daemon logs for docker compose, `llapdaemon` is the service -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
