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

Lior Regev commented on HADOOP-15173:
-------------------------------------

I forgot to mention in the issue but creating OneFileInfo is performing a 
side-effect of fetching file infos, which, in cases where one is accessing a 
remote service (s3 for example) might actually give a performance hit

> Possible dead code in CombineFileInputFormat
> --------------------------------------------
>
>                 Key: HADOOP-15173
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15173
>             Project: Hadoop Common
>          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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to