This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch HDDS-7593
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/HDDS-7593 by this push:
new 6cfe9cf0a2 HDDS-10626. [LeaseRecovery] OM shuts down with 'SecretKey
client must have been initialized already' (#6467)
6cfe9cf0a2 is described below
commit 6cfe9cf0a2e9d67da41e1b728c79ec9e1b19b447
Author: Sammi Chen <[email protected]>
AuthorDate: Thu Apr 4 01:35:04 2024 +0800
HDDS-10626. [LeaseRecovery] OM shuts down with 'SecretKey client must have
been initialized already' (#6467)
---
.../src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
index dfafe3fc3e..42021083f6 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
@@ -1663,13 +1663,12 @@ public final class OzoneManager extends
ServiceRuntimeInfoImpl
metadataManager.start(configuration);
+ startSecretManagerIfNecessary();
// Start Ratis services
if (omRatisServer != null) {
omRatisServer.start();
}
- startSecretManagerIfNecessary();
-
upgradeFinalizer.runPrefinalizeStateActions(omStorage, this);
Integer layoutVersionInDB = getLayoutVersionInDB();
if (layoutVersionInDB == null ||
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]