# Graceful shutdown

> Graceful shutdown of Apache Hive metastores, covering the configurable shutdown timeout and how the metastore process stops.

You can configure the graceful shutdown as described in [Graceful shutdown](https://docs.stackable.tech/home/stable/concepts/operations/graceful_shutdown/index.md).

## Hive metastores

As a default, Hive metastores have `5 minutes` to shut down gracefully.

The Hive metastore process receives a `SIGTERM` signal when Kubernetes wants to terminate the Pod. After the graceful shutdown timeout runs out, and the process is still running, Kubernetes issues a `SIGKILL` signal.

However, there is no acknowledge message in the log indicating a graceful shutdown.
