hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Lu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11372) Fix new findbugs warnings in mapreduce-examples
Date Tue, 09 Dec 2014 09:30:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Li Lu updated HADOOP-11372:
    Attachment: HADOOP-11372-120914.patch

In this patch I fixed the only two warnings raised by findbugs 3.0 against mapreduce-examples.
I fixed a unnecessary null check on final List<T> results = Util.combine(m.get(p));
where Util.combine will never return null (looks like a false alarm but actually is not).
I also added throws NoSuchElementException to Sum's iterator per findbugs's suggestion. 

> Fix new findbugs warnings in mapreduce-examples
> -----------------------------------------------
>                 Key: HADOOP-11372
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11372
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Li Lu
>            Assignee: Li Lu
>         Attachments: HADOOP-11372-120914.patch
> When locally run findbugs 3.0, there are new warnings generated. This Jira aims to address
the new warnings in mapreduce-examples. 

This message was sent by Atlassian JIRA

View raw message