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

Jason Lowe commented on MAPREDUCE-7037:
---------------------------------------

The array itself is not used, but the act of filling in the array appears to 
have side-effects that are important.  For example, {{rackToNodes}} appears to 
be initialized during the construction of the array.

 

> Possible dead code in CombineFileInputFormat
> --------------------------------------------
>
>                 Key: MAPREDUCE-7037
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7037
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Lior Regev
>            Priority: Minor
>              Labels: newbie
>
> I found that in the file:
> hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java:280
> There's a generation of OneFileInfo[] without using that array ever again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to