Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12064

Reuse object mapper in HDFS

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      Currently there are a few places that are not following the recommended pattern of using object mapper - reuse if possible. Actually we can use ObjectReader or ObjectWriter to replace the object mapper in some places: they are straightforward and thread safe.

      The benefit is all about performance, so in unit testing code I assume we don't have to worry too much.

      Attachments

        1. HDFS-12064.001.patch
          12 kB
          Hanisha Koneru
        2. HDFS-12064.002.patch
          12 kB
          Hanisha Koneru

        Issue Links

        Activity

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

          People

            hanishakoneru Hanisha Koneru
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment