hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4172) Clean up java warnings in the hadoop-mapreduce-project sub projects
Date Sun, 22 Apr 2012 18:07:35 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259207#comment-13259207

Harsh J commented on MAPREDUCE-4172:

The only thing automated about these patches is the removal of unused imports (Eclipse code
cleaner helped there). All the other changes were hand-done.
> Clean up java warnings in the hadoop-mapreduce-project sub projects
> -------------------------------------------------------------------
>                 Key: MAPREDUCE-4172
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4172
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>          Components: build
>    Affects Versions: trunk
>            Reporter: Harsh J
>            Assignee: Harsh J
> There are lots of warnings in the hadoop-mapreduce-project presently. We can clear almost
all of this away:
> * Unused imports
> * Unused variables
> ** For loops that can be replaced with while instead to save an unused variable
> * Unused methods
> * Deprecation warnings where an alternative can be used (Especially SequenceFile reader/writer
usage and MiniDFSCluster usage)
> * Deprecation warnings where an alternative isn't clear (Especially MiniMRCluster usage
and DistributedCache API usage where a Job object may not be available)
> * Unchecked conversions
> * Raw type usage
> * (etc.)
> I'm going to open one sub-task per sub-project we have, with patches attached to them.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message