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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to