This is an automated email from the ASF dual-hosted git repository.

captainzmc 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 157c591b13 HDDS-7631. Log format error on quotas when exceeding the 
space quota (#4076)
157c591b13 is described below

commit 157c591b138d0b0df3e0d5f6452e83787c759587
Author: Mladjan Gadzic <[email protected]>
AuthorDate: Wed Dec 21 14:41:51 2022 +0100

    HDDS-7631. Log format error on quotas when exceeding the space quota (#4076)
    
    * Change error message
---
 .../main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
index 62374c310f..6588376292 100644
--- 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
+++ 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
@@ -531,7 +531,7 @@ public abstract class OMKeyRequest extends OMClientRequest {
       long quotaInBytes = omBucketInfo.getQuotaInBytes();
       if (quotaInBytes - usedBytes < allocateSize) {
         throw new OMException("The DiskSpace quota of bucket:"
-            + omBucketInfo.getBucketName() + "exceeded: quotaInBytes: "
+            + omBucketInfo.getBucketName() + " exceeded quotaInBytes: "
             + quotaInBytes + " Bytes but diskspace consumed: " + (usedBytes
             + allocateSize) + " Bytes.",
             OMException.ResultCodes.QUOTA_EXCEEDED);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to