This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new f2300f37476 HDDS-13456. Print container DB path when DB does not exist
in parseKVContainerData (#8821)
f2300f37476 is described below
commit f2300f37476357568a26f67b2a9222956048aa05
Author: Siyao Meng <[email protected]>
AuthorDate: Fri Jul 18 15:37:28 2025 -0700
HDDS-13456. Print container DB path when DB does not exist in
parseKVContainerData (#8821)
---
.../ozone/container/keyvalue/helpers/KeyValueContainerUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/KeyValueContainerUtil.java
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/KeyValueContainerUtil.java
index 0550ecad4a3..1b2a8b93595 100644
---
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/KeyValueContainerUtil.java
+++
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/KeyValueContainerUtil.java
@@ -236,8 +236,8 @@ public static void
parseKVContainerData(KeyValueContainerData kvContainerData,
File dbFile = KeyValueContainerLocationUtil.getContainerDBFile(
kvContainerData);
if (!dbFile.exists()) {
- LOG.error("Container DB file is missing for ContainerID {}. " +
- "Skipping loading of this container.", containerID);
+ LOG.error("Container DB file is missing at {} for ContainerID {}. " +
+ "Skipping loading of this container.", dbFile, containerID);
// Don't further process this container, as it is missing db file.
throw new IOException("Container DB file is missing for containerID "
+ containerID);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]