[
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]