tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Muhammad Samir Khan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TEZ-3753) Improve error message in IFile for buffer length overflow
Date Tue, 06 Jun 2017 20:34:18 GMT

     [ 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.001.patch

Check if the byte array doubling will result in the array size overflowing and throw an IO
Exception if it will.

[~kshukla]/[~jeagles]

> 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
>
>
> 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.3.15#6346)

Mime
View raw message