You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by gouravshenoy <gi...@git.apache.org> on 2016/11/03 18:18:07 UTC

[GitHub] airavata pull request #71: Make AuroraThriftClient a synchronized singleton ...

GitHub user gouravshenoy opened a pull request:

    https://github.com/apache/airavata/pull/71

    Make AuroraThriftClient a synchronized singleton & Reconnect with Aurora scheduler on leader rotation

    This PR contains the following code changes to the "aurora-client" cloud module:
    
    1. The AuroraThriftClient.java singleton class has been made synchronized to handle race conditions. 
    2. If any call to aurora scheduler fails due to SocketTimeoutException, then it might be due to the fact that the Aurora scheduler leader has been re-elected (or rotated); In this case, the client will reconnect with current leader and re-execute the failed command.
    3. Added several sanity checks to detect malformed scheduler host URL, or detect if none of the scheduler hosts are reachable.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gouravshenoy/airavata aurora-mesos-integration

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/airavata/pull/71.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #71
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] airavata pull request #71: Make AuroraThriftClient a synchronized singleton ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/airavata/pull/71


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---