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

Alan Gates commented on HIVE-10595:
-----------------------------------

[~sushanth], I'd like to add this to 1.2 as it can jam the compactor.  It's 
already patch available, so I should be able to get it in quickly.

[~ekoifman], would you have time to review this?

> 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