Stopping Impala
Explains how to gracefully shut down Impala Daemons by first allowing running queries a specified amount of time to complete the process.
The flow to gracefully shut down an Impala Daemon is as follows:
- The shutdown is initiated.
- The grace period starts. The Impala Daemon informs other coordinators not to schedule any new queries on it. This allows queries already scheduled to run on this daemon by other coordinators to start executing.
- The grace period expires.
- The Impala Daemon continuously checks if there are no queries or fragments running.
- If there are no queries or fragments running, it shuts down.
- Otherwise, when it reaches the
IMPALA_GRACEFUL_SHUTDOWN_DEADLINE
duration, Impala Daemon shuts down.
Once Cloudera Manager initiates the stop/shutdown command, the Impala Daemon starts up the graceful shutdown process, and the process cannot be reverted. However, if you need to change the hard deadline in Cloudera Manager, you can cancel the shutdown command, change the Impala Daemon Graceful Shutdown, and start the shutdown command again.
- Optionally, set the grace period.
-
Optionally, set the hard deadline after which Impala is shut down
regardless of whether queries are still running on it.
- In Cloudera Manager, navigate to .
- Click an Impala Daemon role.
- Click .