hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4423) Cleanup lint warnings in resource manager
Date Fri, 03 Feb 2017 08:21:51 GMT

    [ 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


Mime
View raw message