[
https://issues.apache.org/jira/browse/MAPREDUCE-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849450#comment-13849450
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-5685:
----------------------------------------------------
Sigh, we fixed a similar bug in WrapperMapper but failed to look at this class.
Y! Song, can you take up this ticket and provide a patch? It'll be great if you
can follow MAPREDUCE-5385 and put similar tests etc. Tx.
> getCacheFiles() api doesn't work in WrappedReducer.java due to typo
> --------------------------------------------------------------------
>
> Key: MAPREDUCE-5685
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5685
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: client
> Affects Versions: 2.2.0
> Reporter: Yi Song
>
> Typo in WrappedReducer.java which causes getCacheFiles() fucntions returns
> null
> Java File: hadoop-common / hadoop-mapreduce-project / hadoop-mapreduce-client
> / hadoop-mapreduce-client-core / src / main / java / org / apache / hadoop /
> mapreduce / lib / reduce / WrappedReducer.java
> line 140:
> Error code:
> {code}
> return reduceContext.getCacheArchives();
> {code}
> Should be:
> {code}
> return reduceContext.getCacheFiles();
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)