Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4974

Optimising the LineRecordReader initialize() method

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

Details

    Description

      I found there is a a scope of optimizing the code, over initialize() if we have compressionCodecs & codec instantiated only if its a compressed input.
      Mean while Gelesh George Omathil, added if we could avoid the null check of key & value. This would time save, since for every next key value generation, null check is done. The intention being to instantiate only once and avoid NPE as well. Hope both could be met if initialize key & value over initialize() method. We both have worked on it.

      Attachments

        1. MAPREDUCE-4974.5.patch
          3 kB
          Gelesh
        2. MAPREDUCE-4974.4.patch
          2 kB
          Gelesh
        3. MAPREDUCE-4974.3.patch
          3 kB
          Gelesh
        4. MAPREDUCE-4974.2.patch
          12 kB
          Arun A K

        Activity

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

          People

            gelesh Gelesh
            ak.arun@aol.com Arun A K
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment