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

Alan Gates commented on HIVE-17710:
-----------------------------------

What you say about not able to lock during compile makes sense.  I forgot we 
compile then lock (by necessity) not the other way around.

But I don't follow what you're saying about it being not useful to prevent a 
drop.  Isn't that exactly what locks are for?  Which case are you talking 
about, views, materialized views, or managed tables?  For views you've 
convinced me, but not for the others.

> LockManager should only lock Managed tables
> -------------------------------------------
>
>                 Key: HIVE-17710
>                 URL: https://issues.apache.org/jira/browse/HIVE-17710
>             Project: Hive
>          Issue Type: New Feature
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-17710.01.patch
>
>
> should the LM take locks on External tables?  Out of the box Acid LM is being 
> conservative which can cause throughput issues.
> A better strategy may be to exclude External tables but enable explicit "lock 
> table/partition <lock mode>" command (only on external tables?).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to