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

SequenceFileOutputFormat is coupled to WritableComparable and Writable

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment