You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2019/01/09 01:47:00 UTC

[jira] [Resolved] (HIVE-21106) Potential NEP in VectorizedOrcAcidRowBatchReader.ColumnizedDeleteEventRegistry

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

Eugene Koifman resolved HIVE-21106.
-----------------------------------
       Resolution: Won't Fix
    Fix Version/s: 4.0.0
     Release Note: n/a

already addressed on master via another commit
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java#L1570-L1575

> Potential NEP in VectorizedOrcAcidRowBatchReader.ColumnizedDeleteEventRegistry
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-21106
>                 URL: https://issues.apache.org/jira/browse/HIVE-21106
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Major
>             Fix For: 4.0.0
>
>
> {{VectorizedOrcAcidRowBatchReader.ColumnizedDeleteEventRegistry()}}
> {noformat}
> AcidStats acidStats = OrcAcidUtils.parseAcidStats(deleteDeltaReader);
> if (acidStats.deletes == 0) {
>  continue; // just a safe check to ensure that we are not reading empty delete files.
> }
> {noformat}
> If the {{delete_delta../bucket_x}} is empty, it may not have a {{hive.acid.index}} and {{OrcAcidUtils.parseAcidStats()}} will return null which causes NPE.
> Even though HIVE-20941 will ensure empty files are no longer created but empty files predating that fix may exist



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)