[
https://issues.apache.org/jira/browse/HIVE-17494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sankar Hariappan updated HIVE-17494:
------------------------------------
Attachment: HIVE-17494.01.patch
Added 01.patch with below updates.
- Added NoSuchObjectException to be thrown by get_partition_names metastore api.
- Handle NoSuchObjectException when try to read the partitions by skipping the
table.
Request [~anishek], [~thejas], [~daijy] to please review!
> Bootstrap REPL DUMP throws exception if a partitioned table is dropped while
> reading partitions.
> ------------------------------------------------------------------------------------------------
>
> Key: HIVE-17494
> URL: https://issues.apache.org/jira/browse/HIVE-17494
> Project: Hive
> Issue Type: Sub-task
> Components: HiveServer2, repl
> Affects Versions: 2.1.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Labels: DR, replication
> Fix For: 3.0.0
>
> Attachments: HIVE-17494.01.patch
>
>
> When a table is dropped between fetching table and fetching partitions, then
> bootstrap dump throws exception.
> 1. Fetch table names.
> 2. Get table
> 3. Dump table object
> 4. Drop table from another thread.
> 5. Fetch partitions (throws exception from fireReadTablePreEvent)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)