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

   good point. 
   
   how about adding a static method to enable it in the integration class?
   
   disabling it would be harder...what if contexts had already been generated? 
easier to only allow the caller to go from off to on.
   
   also, had an idea:
   
   add a stream capability `fs.capability.iocontext.supported` for streams 
which update iocontext.
   
   then add asserts to the test to verify this
   
   1. lines up for making the tests contract tests
   2. if the prefetching stream isn't (yet) context aware, we will know why the 
tests are failing


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