Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/77#discussion_r16219222
--- Diff:
tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java ---
@@ -271,6 +272,17 @@ public void setStop() {
public void run() {
startTime = System.currentTimeMillis();
try {
+ // In TajoMaster HA mode, if this servlet can't connect existing
active master,
+ // this should try to connect new active master.
+ TajoConf conf = tajoClient.getConf();
--- End diff --
This is also same with TajoAdmin.checkMasterStatus(). If you move
checkMasterStatus() to any other util classes, please update this code, too.
---
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.
---