rmarsch opened a new pull request #3522:
URL: https://github.com/apache/hbase/pull/3522


   https://issues.apache.org/jira/browse/HBASE-6908
   
   Can pass in a FQCN to load as the call queue implementation.
   
   Standardized arguments to the constructor are the max queue length, the 
PriorityFunction, and the Configuration.
   
   `PluggableBlockingQueue` abstract class provided to help guide the correct 
constructor signature.
   
   Hard fails with `PluggableRpcQueueNotFound` if the class fails to load as a 
`BlockingQueue<CallRunner>`
   
   Testing added to `TestSimpleRpcScheduler` to verify that it can load a 
pluggable queue and that it fails when the queue class name is missing, 
incorrect, or not a `BlockingQueue<CallRunner>`
   
   Upstreaming on behalf of Hubspot, we are interested in defining our own 
custom RPC queue and don't want to get involved in necessarily upstreaming 
internal requirements/iterations. I found this long standing JIRA HBASE-6908 
that seems to align directly with the idea we had for providing the queue 
separately at runtime.
   
   cc @bbeaudreault 


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


Reply via email to