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

Reuse object mapper in HDFS

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment