This is an automated email from the ASF dual-hosted git repository.
priyeshkaratha 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 f138cb7ea5d HDDS-16624. Improve AbortIncompleteMultipartUpload
lifecycle validation error message (#11344)
f138cb7ea5d is described below
commit f138cb7ea5d458bcb9af3ea478510e37ea65897d
Author: Priyesh Karatha <[email protected]>
AuthorDate: Thu Oct 8 10:02:05 2026 +0530
HDDS-16624. Improve AbortIncompleteMultipartUpload lifecycle validation
error message (#11344)
---
.../om/request/lifecycle/OMLifecycleConfigurationSetRequest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/lifecycle/OMLifecycleConfigurationSetRequest.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/lifecycle/OMLifecycleConfigurationSetRequest.java
index e57239a32b6..374368a1239 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/lifecycle/OMLifecycleConfigurationSetRequest.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/lifecycle/OMLifecycleConfigurationSetRequest.java
@@ -241,9 +241,8 @@ private static void
validateAbortMpuDaysAgainstCleanupThreshold(
" day(s), which is not less than the cluster MPU expire
threshold (" +
OMConfigKeys.OZONE_OM_MPU_EXPIRE_THRESHOLD + "=" +
expireThresholdConfig +
"). The MultipartUploadCleanupService will clean up the upload
before the " +
- "lifecycle rule fires, making the rule ineffective. " +
- "Set daysAfterInitiation to a value less than " +
expireThresholdConfig +
- ", or increase " + OMConfigKeys.OZONE_OM_MPU_EXPIRE_THRESHOLD
+ ".",
+ "lifecycle rule fires, making the rule ineffective. Make sure
daysAfterInitiation " +
+ "time duration is shorter than " +
OMConfigKeys.OZONE_OM_MPU_EXPIRE_THRESHOLD + ".",
OMException.ResultCodes.INVALID_REQUEST);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]