steveloughran opened a new pull request #2294:
URL: https://github.com/apache/hadoop/pull/2294


   
   This is the successor to #2179
   
   1. ABFS Store creates a single threadpool, configurable with fixed size or 
multiple of cores
   1. each output stream is given its own semaphored pool which limits the 
access that stream has to the pool
   
   To actually defend against OOMs the per-stream queue length is what needs to 
be managed; looking at the patch it still has the problem of #2179: you need 
one buffer per pending upload in the the pools.
   
   Ultimately the S3A Connector fixed this by going to disk buffering by 
default. A more performant design might be to have a blocking byte buffer 
factory which limits the #of buffers which the streams can request, so putting 
an upper bound on the amount of memory which a single ABFS store instance can 
demand. 
   
   
   


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

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