You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2017/02/03 08:21:51 UTC

[jira] [Commented] (YARN-4423) Cleanup lint warnings in resource manager

    [ https://issues.apache.org/jira/browse/YARN-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15851214#comment-15851214 ] 

Akira Ajisaka commented on YARN-4423:
-------------------------------------

Thanks [~templedf] for the cleanup! Mostly looks good to me.
I'm thinking we can remove the following two {{@SuppressWarnings}} annotations.
{code:title=SchedulingPolicy.java}
  @SuppressWarnings("unchecked")
  public static SchedulingPolicy parse(String policy)
      throws AllocationConfigurationException {
    @SuppressWarnings("rawtypes")
    Class<? extends SchedulingPolicy> clazz;
{code}

> Cleanup lint warnings in resource manager
> -----------------------------------------
>
>                 Key: YARN-4423
>                 URL: https://issues.apache.org/jira/browse/YARN-4423
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.7.1
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Minor
>              Labels: oct16-easy
>         Attachments: YARN-4423.001.patch, YARN-4423.002.patch, YARN-4423.003.patch, YARN-4423.004.patch
>
>
> There are multiple lint warnings about unchecked usage.  This JIRA is to clean them up, and maybe a few other quibbles as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org