You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/03/02 06:56:36 UTC
[jira] Updated: (MAPREDUCE-1125) SerialUtils.cc: deserializeFloat
is out of sync with SerialUtils.hh
[ https://issues.apache.org/jira/browse/MAPREDUCE-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated MAPREDUCE-1125:
---------------------------------
Assignee: Simone Leo
Status: Open (was: Patch Available)
This has fallen out of date. Can you sync with trunk then hopefully a committer familiar with pipes will review and commit. Thanks.
> 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
> Attachments: MAPREDUCE-1125.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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira