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

BytesWritable.write(buf) use much more CPU in writeInt() then write(buf)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.20.2
    • Fix Version/s: None
    • Component/s: io
    • Tags:
      hadoop io BytesWritable

      Description

      BytesWritable.write() use nearly 4 times of CPU in wirteInt() as write buffer. It may be optimized.

        Attachments

        1. screenshot-2.jpg
          54 kB
          Kang Xiao
        2. BytesWritable.java.patch
          0.9 kB
          Kang Xiao
        3. screenshot-1.jpg
          108 kB
          Kang Xiao

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xiaokang Kang Xiao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: