[ https://issues.apache.org/jira/browse/STORM-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bipin Prasad updated STORM-3587: -------------------------------- Description: ResourceAwareScheduler creates a FutureTask with timeout specified in DaemonConfig. ConstraintSolverStrategy uses the the another configuration variable to determine when to terminate its effort. Limit this value so that it terminates at most slightly before TimeoutException. This graceful exit allows result (and its error) to be available in ResourceAwareScheduler. was: ResourceAwareScheduler creates a FutureTask with timeout specified in config. Scheduling strategy (e.g ConstraintSolverStrategy) uses the the same configuration variable to determine when to terminate its effort. Increase the timeout in ResourceAwareScheduler to allow the FutureTask to gracefully exit and record its error message. > Allow Scheduler futureTask to gracefully exit and register message on timeout > ----------------------------------------------------------------------------- > > Key: STORM-3587 > URL: https://issues.apache.org/jira/browse/STORM-3587 > Project: Apache Storm > Issue Type: New Feature > Components: storm-server > Affects Versions: 2.2.0 > Reporter: Bipin Prasad > Assignee: Bipin Prasad > Priority: Minor > Labels: pull-request-available > Fix For: 2.2.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > ResourceAwareScheduler creates a FutureTask with timeout specified in > DaemonConfig. > ConstraintSolverStrategy uses the the another configuration variable to > determine when to terminate its effort. Limit this value so that it > terminates at most slightly before TimeoutException. This graceful exit > allows result (and its error) to be available in ResourceAwareScheduler. > -- This message was sent by Atlassian Jira (v8.3.4#803005)