pkuwm opened a new pull request #357: [WIP] Add getWorkflows(long timeout) to 
TaskDriver.
URL: https://github.com/apache/helix/pull/357
 
 
   Sometimes zookeeper hangs in the getWorkflows() call, and we could
   provide an API with a timeout to handle this at the application level.
   Use ExcecutorService and Future to implement the timeout function.
   Call future.get(long timeout, TimeUnit timeUnit) to wait for result.
   
   This commit resolves #326:
   1. Add a static API parseWorkflowConfig to class WorkflowConfig.
   The API can parse HelixProperty.
   2. Add an API getWorkflows(long timeout) to TaskDriver.

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


With regards,
Apache Git Services

Reply via email to