[
https://issues.apache.org/jira/browse/HIVE-10595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529725#comment-14529725
]
Eugene Koifman commented on HIVE-10595:
---------------------------------------
I'm not sure I understand how this works.
The Initiator (if the table/partition is no longer there) will not add anything
to compaction queue.
So then there is nothing for Worker/Cleaner to do in this case.
How will data from TXNS, COMPLETED_TXN_COMPONENTS, TXN_COMPONENTS which relates
to these table get cleaned up?
> Dropping a table can cause NPEs in the compactor
> ------------------------------------------------
>
> Key: HIVE-10595
> URL: https://issues.apache.org/jira/browse/HIVE-10595
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.14.0, 1.0.0, 1.1.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-10595.patch
>
>
> Reproduction:
> # start metastore with compactor off
> # insert enough entries in a table to trigger a compaction
> # drop the table
> # stop metastore
> # restart metastore with compactor on
> Result: NPE in the compactor threads. I suspect this would also happen if
> the inserts and drops were done in between a run of the compactor, but I
> haven't proven it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)