Skip to content

Commit

Permalink
Update docs/modules/hdfs/pages/usage-guide/operations/graceful-shutdo…
Browse files Browse the repository at this point in the history
…wn.adoc
  • Loading branch information
razvan authored Sep 27, 2024
1 parent 90e179f commit 0763ed3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ As a default, JournalNodes have `15 minutes` to shut down gracefully.

The JournalNode process receives a `SIGTERM` signal when Kubernetes wants to terminate the Pod.
It logs the received signal as shown in the log below and initiate a graceful shutdown.
After the graceful shutdown timeout runs out, and the process still didn't exit, Kubernetes issues a `SIGKILL` signal.
After the graceful shutdown timeout runs out, and the process is still running, Kubernetes issues a `SIGKILL` signal.

https://github.com/apache/hadoop/blob/a585a73c3e02ac62350c136643a5e7f6095a3dbb/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/JournalNode.java#L272[This] is the relevant code that gets executed in the JournalNodes as of HDFS version `3.3.4`.

Expand Down

0 comments on commit 0763ed3

Please sign in to comment.