[ 
https://issues.apache.org/jira/browse/HIVE-10595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531154#comment-14531154
 ] 

Eugene Koifman commented on HIVE-10595:
---------------------------------------

I filed a ticket to investigate the more general issue.
+1 this patch

> 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)

Reply via email to