[
https://issues.apache.org/jira/browse/HIVE-25513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karen Coppage resolved HIVE-25513.
----------------------------------
Resolution: Fixed
Committed to master branch. Thank you for your review [~lpinter]!
> Delta metrics collection may cause NPE
> --------------------------------------
>
> Key: HIVE-25513
> URL: https://issues.apache.org/jira/browse/HIVE-25513
> Project: Hive
> Issue Type: Bug
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When collecting metrics about the number of deltas under specific
> partitions/tables, information about which partitions/tables are being read
> is stored in the Configuration object under key delta.files.metrics.metadata.
> This information is retrieved in
> DeltaFilesMetricsReporter#mergeDeltaFilesStats when collecting the actual
> information about the number of deltas. But if the information was never
> stored for some reason, an NPE will be thrown from
> DeltaFilesMetricsReporter#mergeDeltaFilesStats.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)