You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Keuntae Park (JIRA)" <ji...@apache.org> on 2013/10/22 04:29:44 UTC

[jira] [Created] (TAJO-275) Separating QueryMaster and TaskRunner roles in worker

Keuntae Park created TAJO-275:
---------------------------------

             Summary: Separating QueryMaster and TaskRunner roles in worker
                 Key: TAJO-275
                 URL: https://issues.apache.org/jira/browse/TAJO-275
             Project: Tajo
          Issue Type: Improvement
            Reporter: Keuntae Park


In C++ implementation of Tajo worker,
I think it is better to maintain Java code of QueryMaster and implement only TaskRunner as C++ code, rather than implementing both QueryMaster and TaskRunner as C++ code.

Accordingly, standby mode worker will have following 3 modes:
1) TaskRunner + QueryMaster (current implementation)
2) TaskRunner only (C++)
3) QueryMaster only (java)

As a result,  most workers work as C++ TaskRunner, and 1 or 2 workers work as separate QueryMasters (java process).

For backward compatibility, default mode should be mode 1 (TaskRunner + QueryMaster) 



--
This message was sent by Atlassian JIRA
(v6.1#6144)