You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Muhammad Samir Khan (JIRA)" <ji...@apache.org> on 2017/07/21 19:10:00 UTC

[jira] [Updated] (TEZ-3753) Improve error message in IFile for buffer length overflow

     [ https://issues.apache.org/jira/browse/TEZ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Muhammad Samir Khan updated TEZ-3753:
-------------------------------------
    Attachment: tez-3753.002.patch

Updated patch to include a unit test and some changes based on feedback from [~jeagles] and [~rohini]

> Improve error message in IFile for buffer length overflow
> ---------------------------------------------------------
>
>                 Key: TEZ-3753
>                 URL: https://issues.apache.org/jira/browse/TEZ-3753
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Muhammad Samir Khan
>            Assignee: Muhammad Samir Khan
>         Attachments: tez-3753.001.patch, tez-3753.002.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)