ArafatKhan2198 opened a new pull request, #4266:
URL: https://github.com/apache/ozone/pull/4266

   ## What changes were proposed in this pull request?
   
   This error is occurring in the Recon server of a Hadoop Ozone deployment. It 
appears that the Recon server is encountering an unexpected exception while 
processing a key in the file system. The error message mentions a 
"ClassCastException" which means that the Recon server is encountering an issue 
where it is trying to cast an object of type ` 
"org.apache.hadoop.ozone.om.helpers.RepeatedOmKeyInfo"` as an object of type 
`"org.apache.hadoop.ozone.om.helpers.OmKeyInfo".` This is causing the Recon 
server to fail to properly process the key and show the correct number of 
files/keys.
   
   So I have made changes to the fileSizeCountTask which will handle both 
RepeatedOmKeyInfo and OmKeyInfo objects.
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7926
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   UT's ran successfully 


-- 
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