Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.3, 0.13.0, 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: io
    • Labels:
      None

      Description

      When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.

        public void readFields(DataInput in) throws IOException {
          type = in.readByte();
          Class clazz = getTypes()[type];
          ...
        }
      
        public void readFields(DataInput in) throws IOException {
          type = in.readByte();
          Class clazz = getTypes()[type & 0xff];
          ...
        }
      
      1. GenericWritable.patch
        0.5 kB
        Espen Amble Kolstad

        Activity

        Espen Amble Kolstad created issue -
        Espen Amble Kolstad made changes -
        Field Original Value New Value
        Attachment GenericWritable.patch [ 12361477 ]
        Espen Amble Kolstad made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.14.0 [ 12312474 ]
        Resolution Fixed [ 1 ]
        Assignee Espen Amble Kolstad [ kolstae ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Benoy Antony made changes -
        Link This issue is depended upon by HADOOP-8357 [ HADOOP-8357 ]
        Benoy Antony made changes -
        Link This issue is depended upon by HADOOP-8357 [ HADOOP-8357 ]

          People

          • Assignee:
            Espen Amble Kolstad
            Reporter:
            Espen Amble Kolstad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development