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 2018/08/14 01:42:32 UTC

[GitHub] gianm commented on issue #6171: hetrogenous peon configurations

gianm commented on issue #6171: hetrogenous peon configurations
URL: https://github.com/apache/incubator-druid/issues/6171#issuecomment-412724797
 
 
   IMO the worker affinity approach is a reasonable way to go. An alternative is to use the "taskResource" object to configure how many slots a task takes. You can make a task take 2, 3, or more slots by doing:
   
   ```json
   "taskResource" : {
     "requiredCapacity" : 2
   }
   ```
   
   It is not a very commonly used feature, but it can make it easier to support heterogenous task sizing. To keep the scheduler simple, we only support slot multiples, not customization of the exact amount of CPU and memory requested.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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