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

   ## What changes were proposed in this pull request?
   Fix ozone debug chunkinfo command to work on keys that are present in closed 
containers, The issue was that the xceiverclient was trying to acquire the 
original pipeline from the keylocation which gets closed on container/pipeline 
close. 
   
   1. The fix is to use a standalone pipeline instance for read.
   2. Also closed client instances by enclosing in try with resources to 
prevent any leaks.
   3. Added TestOzoneDebugShell to test this
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-8546
   
   ## How was this patch tested?
   Added a unit test
   


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