Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3192

IFile#checkState creating unnecessary objects though auto-boxing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.1, 0.8.3
    • None
    • None

    Description

      checkState is a varargs function which takes Objects. ints and longs create unnecessary Integers and Long objects through Integer.valueOf and Long.valueOf. This is used in the read key and read value loop so while small, puts this on par with the MR equivalent.

      Attachments

        1. TEZ-3192.1.patch
          2 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: