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

          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