Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

This is a small addendum for #146 to improve behavior in case of timeout:

  • pass last seen error if present to callback, instead of TimeoutException
  • add message to the exception thrown when not all required hosts have joined the cluster
  • subtract retry delay from time left for subsequent attempt (since time left is calculated before scheduling with the delay)

How was this patch tested?

Tested cluster provisioning failure with various timeouts. Added unit test.

@asfgit
Copy link

asfgit commented Jan 24, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/256/
Test PASSed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants