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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 3.0.0-alpha1
    • pipes
    • 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.004.patch
          1 kB
          Masatake Iwasaki
        2. MAPREDUCE-1125-2.patch
          4 kB
          Simone Leo
        3. MAPREDUCE-1125-3.patch
          4 kB
          Simone Leo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: