Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1125

SerialUtils.cc: deserializeFloat is out of sync with SerialUtils.hh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: pipes
    • Labels:
    • Tags:
      utils

      Description

      *** 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);
        }
      

        Attachments

        1. MAPREDUCE-1125-2.patch
          4 kB
          Simone Leo
        2. MAPREDUCE-1125-3.patch
          4 kB
          Simone Leo
        3. MAPREDUCE-1125.004.patch
          1 kB
          Masatake Iwasaki

          Activity

            People

            • Assignee:
              simleo Simone Leo
              Reporter:
              simleo Simone Leo
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: