You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Amruth S (JIRA)" <ji...@apache.org> on 2018/05/07 07:37:00 UTC

[jira] [Updated] (HIVE-19436) NullPointerException while getting block info

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

Amruth S updated HIVE-19436:
----------------------------
    Status: Patch Available  (was: Open)

> NullPointerException while getting block info
> ---------------------------------------------
>
>                 Key: HIVE-19436
>                 URL: https://issues.apache.org/jira/browse/HIVE-19436
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.3.2
>            Reporter: Amruth S
>            Assignee: Amruth S
>            Priority: Major
>         Attachments: HIVE-19436.patch
>
>
> From hive 2.3.2, there are cases where block info object comes out to be null (src/java/org/apache/hadoop/hive/ql/exec/persistence/PTFRowContainer.java)
> Comes in this code path
>  
> {code:java}
> if ( blockInfos.size() > 0 ) {
>  InputSplit[] inputSplits = getInputSplits();
>  FileSplit fS = null;
>  BlockInfo bI = blockInfos.get(0);
> ...
> {code}
>  



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