Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4466

SequenceFileOutputFormat is coupled to WritableComparable and Writable

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • io
    • None
    • 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.

      Attachments

        1. hadoop-4466.patch
          3 kB
          Chris Wensel

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cwensel Chris Wensel
            cwensel Chris Wensel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment