[ https://issues.apache.org/jira/browse/YARN-7746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629774#comment-16629774 ]
Arun Suresh commented on YARN-7746: ----------------------------------- Thanks for the patch [~maniraj...@gmail.com] Instead of having a separate {{SchedulingRequestEventAsyncThread}}, it is possible to just replace the default backing queue of the schedulingThreadPool like so: {code} this.schedulingThreadPool = new ThreadPoolExecutor(.., priorityQueue, ..); {code} You might even consider using the {{org.apache.hadoop.util.BlockingThreadPoolExecutorService}} or add a method to create a priority backed threadpool. > Fix PlacementProcessor to support app priority > ---------------------------------------------- > > Key: YARN-7746 > URL: https://issues.apache.org/jira/browse/YARN-7746 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Arun Suresh > Assignee: Manikandan R > Priority: Major > Attachments: YARN-7746.001.patch > > > The Threadpools used in the Processor should be modified to take a priority > blocking queue that respects application priority. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org