anmolanmol1234 opened a new pull request, #4512:
URL: https://github.com/apache/hadoop/pull/4512

   This is to mainly handle the scenarios for cache enablement or disablement 
when the filesystem instance has clientCorrelationId as a part of its 
configuration.
   
   If a filesystem instance has clientCorrelationId as a part of its 
configuration and if we enable cache for the same, there may be another job 
using a filesystem instance with same configuration and uri as the one cached, 
but the issue here is that since these 2 filesystem instances are part of 2 
different running jobs, they can't share the same clientCorrelationId.
   So as a part of the fix, if a filesystem instance has clientCorrelationId we 
disable cache for that process, so that if any other job is running as a part 
of the same process with the same configuration and uri, the filesystem 
instance created as a part of it will be created as a new instance and hence 
will not report incorrect clientCorrelationId. 
   
   Our main aim here is to prevent incorrect clientCorrelationId from being 
reported.


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