You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@helix.apache.org by GitBox <gi...@apache.org> on 2019/07/23 08:01:32 UTC

[GitHub] [helix] pkuwm opened a new pull request #357: [WIP] Add getWorkflows(long timeout) to TaskDriver.

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:
users@infra.apache.org


With regards,
Apache Git Services