You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/10/03 02:14:55 UTC
[GitHub] [incubator-druid] jihoonson commented on issue #8622: Proposal:
concept of supervisor type task slots
jihoonson commented on issue #8622: Proposal: concept of supervisor type task slots
URL: https://github.com/apache/incubator-druid/issues/8622#issuecomment-537756213
@himanshug thank you for raising a proposal!
> Add a method `boolean Task.isSupervisor()` to `Task` interface which returns true if the task is a supervisor task that spawns subtasks to delegate work. `ParallelIndexSupervisorTask` would return `true` while all other current task impls would return `false`.
`ParallelIndexSupervisorTask` can has two different modes, i.e., sequential and parallel modes. If it runs in the sequential mode, the supervisor task will behave just like the `index` task and process all data by itself. I guess you can call `isParallelMode()` to check this.
> Add a `druid.worker.supervisorCapacity` configuration on middleManagers, which designates available slots to run supervisor tasks. This config is similar to `druid.worker.capacity` which designates available non-supervisor task slots.
Wondering if we can add an overlord configuration instead of middleManager one, like `druid.indexer.supervisorCapacityRatio` or `druid.indexer.supervisorMaxCapacity`, which automatically reserve the number of task slots for supervisor tasks out of the total task capacity reported by middleManagers. One advantage of this way is people can configure only overlords instead of middleManagers which are supposed to be more than overlords in the cluster. Or do you want a sort of special middleManager where every supervisor task runs on it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org