greenwich commented on code in PR #12228:
URL: https://github.com/apache/ozone/pull/12228#discussion_r4792564621


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java:
##########
@@ -200,6 +215,13 @@ public AllocatedBlock allocateBlock(final long size,
     return null;
   }
 
+  private static SCMException tierUnavailable(StoragePolicy storagePolicy, 
List<StorageTier> tiersTried,
+      PlacementFailureReason reason, IOException cause) {
+    String message = "No capacity for storage policy " + 
storagePolicy.getName() + " on storage tiers " + tiersTried

Review Comment:
   @devmadhuu, done. Changed to `Cannot allocate a block for storage policy ... 
on storage tiers [...]: <reason>`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to