[
https://issues.apache.org/jira/browse/HDDS-11620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894013#comment-17894013
]
Ethan Rose commented on HDDS-11620:
-----------------------------------
SCM log is in the SCM specific finalizer
[here|https://github.com/apache/ozone/blob/b8b1263283ce8a84cc27c7e96022f94e3d190833/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/upgrade/SCMUpgradeFinalizer.java#L60]
where the checkpoint will be {{{}FINALIZATION_DONE{}}}. I believe
[this|https://github.com/apache/ozone/blob/2e8f5f30ea070a710ca9ea4caf39a8208216707d/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/upgrade/BasicUpgradeFinalizer.java#L383]
should also get logged for all components.
> SCM finalizeUpgrade should log a message
> ----------------------------------------
>
> Key: HDDS-11620
> URL: https://issues.apache.org/jira/browse/HDDS-11620
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Wei-Chiu Chuang
> Priority: Minor
>
> After SCM finalizeUpgrade completes, it returns a message back to the client,
> and client print a message in the console. However, SCM itself doesn't log a
> message. It makes troubleshooting harder because we have no idea when it
> started and completed.
> Somewhere in here we should log messages:
> https://github.com/apache/ozone/blob/2e8f5f30ea070a710ca9ea4caf39a8208216707d/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/upgrade/BasicUpgradeFinalizer.java#L79
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]