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-1125) SerialUtils.cc: deserializeFloat is out of sync with SerialUtils.hh
Date Fri, 06 Nov 2015 03:16:27 GMT

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

Hudson commented on MAPREDUCE-1125:
-----------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #644 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/644/])
MAPREDUCE-1125. SerialUtils.cc: deserializeFloat is out of sync with (aw: rev 19a0c2660cce0dccf968376bed249de94b58b8a2)
* hadoop-tools/hadoop-pipes/src/main/native/utils/api/hadoop/SerialUtils.hh
* hadoop-mapreduce-project/CHANGES.txt
* hadoop-tools/hadoop-pipes/src/main/native/utils/impl/SerialUtils.cc


> SerialUtils.cc: deserializeFloat is out of sync with SerialUtils.hh
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1125
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1125
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: pipes
>    Affects Versions: 0.21.0
>            Reporter: Simone Leo
>            Assignee: Simone Leo
>              Labels: BB2015-05-TBR
>             Fix For: 3.0.0
>
>         Attachments: MAPREDUCE-1125-2.patch, MAPREDUCE-1125-3.patch, MAPREDUCE-1125.004.patch
>
>
> {noformat}
> *** SerialUtils.hh ***
>   float deserializeFloat(InStream& stream);
> *** SerialUtils.cc ***
>   void deserializeFloat(float& t, InStream& stream)
>   {
>     char buf[sizeof(float)];
>     stream.read(buf, sizeof(float));
>     XDR xdrs;
>     xdrmem_create(&xdrs, buf, sizeof(float), XDR_DECODE);
>     xdr_float(&xdrs, &t);
>   }
> {noformat}



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

Mime
View raw message