SaketaChalamchala opened a new pull request, #5189: URL: https://github.com/apache/ozone/pull/5189
## What changes were proposed in this pull request? Current implementation returns a null and later on ScmBlockLocationProtocolServerSideTranslatorPB#allocateScmBlock() throws an exception with #blocks allocated and requested. ``` # hdfs dfs -put /etc/krb5.conf ofs://ozone1/vol1/bucket/3 put: Allocated 0 blocks. Requested 1 blocks ``` Proposed changed returns an exception when a block cannot be allocated after trying all possible strategies ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7275 ## How was this patch tested? Manual. ``` sh-4.2$ ozone sh key put /vol1/bucket1/key1 CONTRIBUTING.md INTERNAL_ERROR Unable to allocate a container to the block of size: 1048576, replicationConfig: RATIS/THREE sh-4.2$ ``` -- 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]
