Hadoop Common
  1. Hadoop Common
  2. HADOOP-4466

SequenceFileOutputFormat is coupled to WritableComparable and Writable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.19.0
    • Component/s: io
    • Labels:
      None
    • Release Note:
      Ensure that SequenceFileOutputFormat isn't tied to Writables and can be used with other Serialization frameworks.

      Description

      For some reason SequenceFileOutputFormat calls asSubclass() for OutputKeyClass and OutputValueClass. This throws a ClassCastException when using non-Writable types with the new Serialization framework.

      1. hadoop-4466.patch
        3 kB
        Chris K Wensel

        Activity

        Chris K Wensel created issue -
        Chris K Wensel made changes -
        Field Original Value New Value
        Attachment hadoop-4466.patch [ 12392593 ]
        Chris K Wensel made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note Removes code added by HADOOP-3791
        Chris K Wensel made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Arun C Murthy made changes -
        Assignee Chris K Wensel [ cwensel ]
        Release Note Removes code added by HADOOP-3791 Ensure that SequenceFileOutputFormat isn't tied to Writables and can be used with other Serialization frameworks.
        Resolution Fixed [ 1 ]
        Fix Version/s 0.19.0 [ 12313211 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Chris K Wensel
            Reporter:
            Chris K Wensel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development