[ https://issues.apache.org/jira/browse/YARN-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542086#comment-14542086 ]
Chang Li commented on YARN-2421: -------------------------------- The check style is not related to my change. [~jlowe] could you help review the latest patch. Thanks! > CapacityScheduler still allocates containers to an app in the FINISHING state > ----------------------------------------------------------------------------- > > Key: YARN-2421 > URL: https://issues.apache.org/jira/browse/YARN-2421 > Project: Hadoop YARN > Issue Type: Bug > Components: scheduler > Reporter: Thomas Graves > Assignee: Chang Li > Attachments: YARN-2421.4.patch, YARN-2421.5.patch, YARN-2421.6.patch, > YARN-2421.7.patch, yarn2421.patch, yarn2421.patch, yarn2421.patch > > > I saw an instance of a bad application master where it unregistered with the > RM but then continued to call into allocate. The RMAppAttempt went to the > FINISHING state, but the capacity scheduler kept allocating it containers. > We should probably have the capacity scheduler check that the application > isn't in one of the terminal states before giving it containers. -- This message was sent by Atlassian JIRA (v6.3.4#6332)