hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13874) Tighten up EOF checking in Fast DeserializeRead classes; display better exception information; add new Unit Tests
Date Tue, 02 Aug 2016 00:36:20 GMT

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

Matt McCline updated HIVE-13874:
--------------------------------
    Description: 
 Tighten up EOF bounds checking in LazyBinaryDeserializeRead so bytes beyond stated row end
are never read.  Use WritableUtils.decodeVIntSize to check for room ahead like regular LazyBinary
code does.

Display more detailed information when an exception is thrown by DeserializeRead classes.

Add Unit Tests, including some designed that catch the errors like HIVE-13818.

  was:
 Tighten up EOF bounds checking in LazyBinaryDeserializeRead so bytes beyond stated row end
are never read.  Use WritableUtils.decodeVIntSize to check for room ahead like regular LazyBinary
code does.

Display more detailed information when an exception is thrown by DeserializeRead classes.

Add Unit Tests, including some that catch the error in HIVE-13818.


> Tighten up EOF checking in Fast DeserializeRead classes; display better exception information;
add new Unit Tests
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13874
>                 URL: https://issues.apache.org/jira/browse/HIVE-13874
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-13874.01.patch, HIVE-13874.02.patch, HIVE-13874.03.patch
>
>
>  Tighten up EOF bounds checking in LazyBinaryDeserializeRead so bytes beyond stated row
end are never read.  Use WritableUtils.decodeVIntSize to check for room ahead like regular
LazyBinary code does.
> Display more detailed information when an exception is thrown by DeserializeRead classes.
> Add Unit Tests, including some designed that catch the errors like HIVE-13818.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message