[ https://issues.apache.org/jira/browse/HIVE-24914?focusedWorklogId=571952&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-571952 ]
ASF GitHub Bot logged work on HIVE-24914: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Mar/21 15:34 Start Date: 25/Mar/21 15:34 Worklog Time Spent: 10m Work Description: pgaref commented on pull request #2108: URL: https://github.com/apache/hive/pull/2108#issuecomment-806960140 Hey @rbalamohan @mustafaiman thoughts here? -- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 571952) Time Spent: 20m (was: 10m) > Improve scheduling by only traversing hosts with capacity > --------------------------------------------------------- > > Key: HIVE-24914 > URL: https://issues.apache.org/jira/browse/HIVE-24914 > Project: Hive > Issue Type: Sub-task > Reporter: Panagiotis Garefalakis > Assignee: Panagiotis Garefalakis > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > *schedulePendingTasks* on the LlapTaskScheduler currently goes through all > the pending tasks and tries to allocate them based on their Priority -- if a > priority can not be scheduled completely, we bail out as lower priorities > would not be able to get allocations either. > An optimization here could be to only walk through the nodes with capacity > (if any) ,and not all available hosts, for scheduling these tasks based on > their priority and locality preferences. -- This message was sent by Atlassian Jira (v8.3.4#803005)