Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdminClient does not obey the Client Timeout #366

Merged
merged 1 commit into from Jan 7, 2016
Merged

AdminClient does not obey the Client Timeout #366

merged 1 commit into from Jan 7, 2016

Conversation

arunthirupathi
Copy link
Collaborator

Review the changes in AdminClient and Azkaban* files. Others can be ignored.

  1. For BuildAndPush If the Voldemort Cluster is far away from the
    Hadoop Cluster, the connection timeout causes the Job to fail.
    Increased the connection timeout in Azkaban.* files for this issue.

  2. ClientConfig timeout is ignored by the AdminClient bootstrap
    methods and it constructs an arbitary ClientConfig. Fixed that.

  3. AdminClient passes in empty AdminClientConfig and ClientConfig
    at multiple places. Removed that.

adminClient = new AdminClient(clusterUrl,
new AdminClientConfig(),
new ClientConfig());
adminClient = new AdminClient(clusterUrl);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one needs a higher timeout as well, like you did in VoldemortBuildAndPushJob, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I searched for the callers of the RollBackJob and there is no reference to it. There is not even a main method which is weird. Will look more into it.

1) For BuildAndPush If the Voldemort Cluster is far away from the
Hadoop Cluster, the connection timeout causes the Job to fail.
Increased the connection timeout in Azkaban.* files for this issue.

2) ClientConfig timeout is ignored by the AdminClient bootstrap
methods and it constructs an arbitary ClientConfig. Fixed that.

3) AdminClient passes in empty AdminClientConfig and ClientConfig
at multiple places. Removed that.
@FelixGV
Copy link
Collaborator

FelixGV commented Jan 7, 2016

LGTM.

@arunthirupathi arunthirupathi merged commit 2b65a88 into voldemort:master Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants