hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6425) ShuffleHandler passes wrong "base" parameter to getMapOutputInfo if mapId is not in the cache.
Date Mon, 06 Jul 2015 13:31:05 GMT

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

Hudson commented on MAPREDUCE-6425:
-----------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2194 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2194/])
MAPREDUCE-6425. ShuffleHandler passes wrong "base" parameter to (devaraj: rev bff67dfe2f811654ffb1bbcbd87509c185f452b6)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/src/main/java/org/apache/hadoop/mapred/ShuffleHandler.java
* hadoop-mapreduce-project/CHANGES.txt
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/src/test/java/org/apache/hadoop/mapred/TestShuffleHandler.java


> ShuffleHandler passes wrong "base" parameter to getMapOutputInfo if mapId is not in the
cache.
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6425
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6425
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, nodemanager
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>             Fix For: 2.7.2
>
>         Attachments: MAPREDUCE-6425.000.patch, MAPREDUCE-6425.001.patch
>
>
> ShuffleHandler passes wrong {{base}} parameter to {{getMapOutputInfo}} if mapId is not
in the cache.
> {{getMapOutputInfo}} expected the {{base}} parameter is {{getBaseLocation(jobId, user)
+ mapId}}
> When it is called inside populateHeaders, the {{base}} parameter is set correctly
> {code}
>         String base = outputBaseStr + mapId;
>         MapOutputInfo outputInfo = getMapOutputInfo(base, mapId, reduce, user);
> {code}
> When  it is called outside populateHeaders, the {{base}} parameter is set wrongly to
outputBasePathStr after number of mapId cached exceeds {{mapOutputMetaInfoCacheSize}}.
> {code}
>          String outputBasePathStr = getBaseLocation(jobId, user);
>           MapOutputInfo info = mapOutputInfoMap.get(mapId);
>           if (info == null) {
>             info = getMapOutputInfo(outputBasePathStr, mapId, reduceId, user);
>           }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message