[ https://issues.apache.org/jira/browse/HIVE-24537?focusedWorklogId=602317&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-602317 ]
ASF GitHub Bot logged work on HIVE-24537: ----------------------------------------- Author: ASF GitHub Bot Created on: 26/May/21 13:10 Start Date: 26/May/21 13:10 Worklog Time Spent: 10m Work Description: maheshk114 commented on pull request #2224: URL: https://github.com/apache/hive/pull/2224#issuecomment-848756722 LGTM +1 -- 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: 602317) Time Spent: 1h (was: 50m) > Optimise locking in LlapTaskSchedulerService > -------------------------------------------- > > Key: HIVE-24537 > URL: https://issues.apache.org/jira/browse/HIVE-24537 > Project: Hive > Issue Type: Sub-task > Components: llap > Reporter: Rajesh Balamohan > Assignee: Panagiotis Garefalakis > Priority: Major > Labels: pull-request-available > Attachments: Screenshot 2020-12-15 at 11.41.49 AM.png > > Time Spent: 1h > Remaining Estimate: 0h > > 1. Read lock should suffice for "notifyStarted()". > 2. Locking in "allocateTask()" can be optimised. > 3. Optimize preemptTasks() & preemptTasksFromMap(). This would help in > reducing the codepath with writeLock. Currently, it iterates through all > tasks. > > !Screenshot 2020-12-15 at 11.41.49 AM.png|width=847,height=446! -- This message was sent by Atlassian Jira (v8.3.4#803005)