GitHub user blrunner opened a pull request:
https://github.com/apache/tajo/pull/77
TAJO-704: TajoMaster HA
I implemented TajoMaster HA Manager utilizing HDFS Cluster. I defined a
interface named HAManager, and I implemented HAManagerWithHDFS with the
interface.
To use TajoMaster HA, you have to set tajo.master.ha.enable=true at
tajo-site.xml. And then, you just run standby master. All master informations
will record to hdfs cluster, and all tajo service will refer master service
address using hdfs cluster.
For reference, this patch includes a few issues as follows:
- It just implemented one unit test case because of TAJO-942.
- If you kill current master and you already ran tsql, you have to restart
tsql. because new master doesn't know existing session ids. We need to handle
this issue at another ticket.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blrunner/tajo TAJO-704
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/77.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 #77
----
commit 47d6c6a32010621b94b31a9871d3a5cd44968667
Author: blrunner <[email protected]>
Date: 2014-07-15T14:32:32Z
initial commit: TajoMaster HA Manager utilizing HDFS Cluster.
commit 0b6276738ad4be278d9ab7d222fef78419d42b62
Author: blrunner <[email protected]>
Date: 2014-07-15T16:25:34Z
Adding HA elector to client side.
----
---
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.
---