You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2015/02/08 04:51:34 UTC
[jira] [Created] (HIVE-9609) AddPartitionMessage.getPartitions()
can return null
Sushanth Sowmyan created HIVE-9609:
--------------------------------------
Summary: AddPartitionMessage.getPartitions() can return null
Key: HIVE-9609
URL: https://issues.apache.org/jira/browse/HIVE-9609
Project: Hive
Issue Type: Bug
Reporter: Sushanth Sowmyan
Assignee: Sushanth Sowmyan
DbNotificationListener and NotificationListener both depend on AddPartitionEvent.getPartitions() to get their partitions to trigger a message, but this can be null if an AddPartitionEvent was initialized on a PartitionSpec rather than a List<Partition>.
Also, AddPartitionEvent seems to have a duality, where getPartitions() works only if instantiated on a List<Partition>, and getPartitionIterator() works only if instantiated on a PartitionSpec.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)