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

Improve error message in IFile for buffer length overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.7.1
    • None
    • None
    • None

    Description

      When a record size is too big and the byte array doubling expansion crosses 2G the array size overflows and becomes negative. It would be good to fail the code paths saying record is too big so that error is easy to understand for users.

      Attachments

        1. tez-3753.001.patch
          3 kB
          Muhammad Samir Khan
        2. tez-3753.002.patch
          7 kB
          Muhammad Samir Khan

        Issue Links

          Activity

            People

              samkhan Muhammad Samir Khan
              samkhan Muhammad Samir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: