Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

TAJO-1282: Cleanup the relationship of QueryInProgress and QueryJobManager.#334

Closed
hyunsik wants to merge 4 commits into
apache:masterfrom
hyunsik:TAJO-1282
Closed

TAJO-1282: Cleanup the relationship of QueryInProgress and QueryJobManager.#334
hyunsik wants to merge 4 commits into
apache:masterfrom
hyunsik:TAJO-1282

Conversation

@hyunsik
Copy link
Copy Markdown
Member

@hyunsik hyunsik commented Jan 6, 2015

It's initial work.

@hyunsik
Copy link
Copy Markdown
Member Author

hyunsik commented Jan 8, 2015

I rebased and cleaned up the relationship. This patch does as follows:

  • Remove CompisiteService from QueryInProgress
  • Remove AsyncDispatcher from QueryInProgress
  • Change QueryJobManager to handle all query-related events and routes them to each QueryInProgress instance.
  • Remove the following event types in QueryJobEvent:
    • QUERY_JOB_START
    • QUERY_JOB_FINISH
    • QUERY_MASTER_START
    • QUERY_MASTER_STOP

- Remove the following event types in QueryJobEvent:
 * QUERY_JOB_START
 * QUERY_JOB_FINISH
 * QUERY_MASTER_START
 * QUERY_MASTER_STOP
@jinossy
Copy link
Copy Markdown
Member

jinossy commented Jan 9, 2015

Could you remove {{isQueryMasterStopped}} in {{QueryInProgress.stop()}} ?
It seems unnecessary to wait.

@jinossy
Copy link
Copy Markdown
Member

jinossy commented Jan 9, 2015

+1 LGTM!
Ship it!

@asfgit asfgit closed this in 307c6c9 Jan 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants