steveloughran commented on PR #8007:
URL: https://github.com/apache/hadoop/pull/8007#issuecomment-3387108741

   regarding tracking, we can tune the relevant statistic api. Maybe a factory 
function which returns and AutoCloseable that passed down and closed(). But 
that isn't enough to measure failure counts. 
   
   Maybe: 
   * AAL adds an interface for something a bit like `DurationTracker`; with a 
`failed()` callback that could even take a Throwable if anyone wanted any extra 
instrumentation/tracking in future.
   * AAL takes a function/interface which asks for one of these before it 
fetches a block.
   
   
   
   


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