[ https://issues.apache.org/jira/browse/HIVE-17256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123907#comment-16123907 ]
Sergey Shelukhin commented on HIVE-17256: ----------------------------------------- Will remove the wtf comment, it was just surprising. There's a test for queue ordering (the first one), not sure if scheduling tests apply here, that would be in the AM patch. If you mean LLAP scheduling tests, that seems to be covered by the added tests. Deadlock is possible with incorrect usage, similar to task priority inversions if they were to happen in the AM... > add a notion of a guaranteed task to LLAP > ----------------------------------------- > > Key: HIVE-17256 > URL: https://issues.apache.org/jira/browse/HIVE-17256 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-17256.patch > > > Tasks are basically on two levels, guaranteed and speculative, with > speculative being the default. As long as noone uses the new flag, the tasks > behave the same. > All the tasks that do have the flag also behave the same with regard to each > other. > The difference is that a guaranteed task is always higher priority, and > preempts, a speculative task. -- This message was sent by Atlassian JIRA (v6.4.14#64029)