[ https://issues.apache.org/jira/browse/YARN-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15721574#comment-15721574 ]
Jian He commented on YARN-5965: ------------------------------- [~sunilg], [~rohithsharma] your opinion ? I was working on YARN-5768, don't have strong opinion on this, just want to hear your thoughts whether it's worth to change it or not. > Revisit ApplicationReport #getApplicationTimeouts > ------------------------------------------------- > > Key: YARN-5965 > URL: https://issues.apache.org/jira/browse/YARN-5965 > Project: Hadoop YARN > Issue Type: Sub-task > Components: scheduler > Reporter: Jian He > > Currently it returns a list of ApplicationTimeout objects, to get a > particular timeout, the caller code needs to iterate the list and compare the > timeoutType to get the corresponding value. Is a map data structure easier > for use code? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org