Hadoop Common
  1. Hadoop Common
  2. HADOOP-3565

JavaSerialization can throw java.io.StreamCorruptedException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0, 0.18.0
    • Fix Version/s: 0.17.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Change the Java serialization framework, which is not enabled by default, to correctly make the objects independent of the previous objects.

      Description

      When using JavaSerialization I sometimes get:

      Caused by: java.io.StreamCorruptedException: illegal handle value
              at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1406)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1285)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
              at org.apache.hadoop.io.serializer.JavaSerialization$JavaSerializationDeserializer.deseriali
      ze(JavaSerialization.java:53)
              at org.apache.hadoop.io.serializer.JavaSerialization$JavaSerializationDeserializer.deseriali
      ze(JavaSerialization.java:36)
              at org.apache.hadoop.mapred.Task$ValuesIterator.readNextValue(Task.java:735)
              at org.apache.hadoop.mapred.Task$ValuesIterator.next(Task.java:675)
              ... 4 more
      
      1. hadoop-3565.patch
        6 kB
        Tom White
      2. hadoop-3565-v2.patch
        6 kB
        Tom White
      3. hadoop-3565-v3.patch
        6 kB
        Tom White

        Issue Links

          Activity

          Owen O'Malley made changes -
          Component/s mapred [ 12310690 ]
          Nigel Daley made changes -
          Fix Version/s 0.18.0 [ 12312972 ]
          Owen O'Malley made changes -
          Hadoop Flags [Reviewed, Incompatible change] [Incompatible change, Reviewed]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Hadoop Flags [Incompatible change, Reviewed]
          Release Note Change the Java serialization framework, which is not enabled by default, to correctly make the objects independent of the previous objects.
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tom White made changes -
          Attachment hadoop-3565-v3.patch [ 12384112 ]
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tom White made changes -
          Attachment hadoop-3565-v2.patch [ 12384063 ]
          Tom White made changes -
          Link This issue blocks HADOOP-3566 [ HADOOP-3566 ]
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Field Original Value New Value
          Attachment hadoop-3565.patch [ 12384048 ]
          Tom White created issue -

            People

            • Assignee:
              Tom White
              Reporter:
              Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development