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

DFSIO do not initialize write buffer correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • benchmarks, test

    Description

      In DFSIO test, the IOMapperBase will set bufferSize in configure method, while writeMapper, appendMapper etc use bufferSize to initialize buffer in the constructor. This will lead to buffer not initialized at all. It is ok for non compression route, while compression is used, the output data size will be very small due to all 0 in buffer.

      Thus, the overrided configure method should be be the correct place for initial buffer

      Attachments

        1. MAPREDUCE-5491.patch
          3 kB
          Raymond Liu
        2. MAPREDUCE-5491-v2.patch
          4 kB
          Raymond Liu

        Issue Links

          Activity

            People

              colorant Raymond Liu
              colorant Raymond Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: