You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2020/07/01 09:05:00 UTC

[jira] [Resolved] (IMPALA-9907) NullPointerException in ParallelFileMetadataLoader's load() method

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

Zoltán Borók-Nagy resolved IMPALA-9907.
---------------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> NullPointerException in ParallelFileMetadataLoader's load() method
> ------------------------------------------------------------------
>
>                 Key: IMPALA-9907
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9907
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> ParallelFileMetadataLoader.loaders_ became a Map, but at one place we still treat it as a List:
> {noformat}
> LOG.error(logPrefix_ + " encountered an error loading data for path " + loaders_.get(i).getPartDir(), e);
> {noformat}
> 'i' is an integer, while the loaders_'s key type is Path.
> Unfortunately the code compiles which means we get a NullPointerException for this statement.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)