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 2022/11/07 22:11:19 UTC

[GitHub] [druid] zachjsh opened a new issue, #13324: Do not Load lookups on tasks that will not use them

zachjsh opened a new issue, #13324:
URL: https://github.com/apache/druid/issues/13324

   ### Description
   
   At the moment, all druid tasks types attempt to load lookups, even when not needed:
   
   1. Some task types, have absolutely no  need to do this, such as compaction, or kill tasks
   2. native batch ingest: only load lookups that are actually needed by transformSpec or metricsSpec
   3. MSQ: only load lookups that are actually needed by the query
   
   ### Motivation
   
   Lookups can be large. and should not consume resources on tasks that have no use for them. It's a waste of resources.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Do not Load lookups on tasks that will not use them (druid)

Posted by "IgorBerman (via GitHub)" <gi...@apache.org>.
IgorBerman commented on issue #13324:
URL: https://github.com/apache/druid/issues/13324#issuecomment-2045459324

   Any idea when this might be pushed to roadmap?
   At least disable lookups loads for compaction tasks. I believe compaction tasks might be improved using higher value for maxRowsInMemory but currently the memory might be occupied by lookups(that compaction doesn't need)
   I believe if we will scope this only for compaction and kill tasks (i.e. item 1) there wont be any need for design or discussion


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] gianm commented on issue #13324: Do not Load lookups on tasks that will not use them

Posted by GitBox <gi...@apache.org>.
gianm commented on issue #13324:
URL: https://github.com/apache/druid/issues/13324#issuecomment-1321483228

   Seems like a good idea to me. On the MSQ front, note that worker tasks don't know what lookups they're going to need until they get a work order, so we'll need some way for them to be loaded on demand after a task starts up.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org