Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-275

Separating QueryMaster and TaskRunner roles in worker

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      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)
      And, 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)

      To achieve the goal, it needs to separate java TaskRunner and java QueryMaster Worker first.
      (And then, implement C++ TaskRunner)

        Attachments

        1. TAJO-275.patch_2
          105 kB
          Keuntae Park
        2. TAJO-275.patch
          105 kB
          Keuntae Park

          Activity

            People

            • Assignee:
              sirpkt Keuntae Park
              Reporter:
              sirpkt Keuntae Park
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: