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

Co-authored-by: Siegfried Weber <[email protected]>
  • Loading branch information
sbernauer and siegfriedweber committed Nov 2, 2023
1 parent 37077f7 commit 85e67df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can configure the graceful shutdown as described in xref:concepts:operations
As a default, JournalNodes have `15 minutes` to shut down gracefully.

The JournalNode process will always run as PID `1` and will receive a `SIGTERM` signal when Kubernetes wants to terminate the Pod.
It will log the received signal as show in the log below and initiate a graceful shutdown.
It will log 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 will issue 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 85e67df

Please sign in to comment.