[ https://issues.apache.org/jira/browse/YARN-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707868#comment-13707868 ]
Bikas Saha commented on YARN-654: --------------------------------- It might be cleaner to use Google preconditions and throw standard IllegalArgumentException. http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/base/Preconditions.html > AMRMClient: Perform sanity checks for parameters of public methods > ------------------------------------------------------------------ > > Key: YARN-654 > URL: https://issues.apache.org/jira/browse/YARN-654 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bikas Saha > Assignee: Xuan Gong > Fix For: 2.1.0-beta > > Attachments: YARN-654.1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira