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

Sushanth Sowmyan commented on HIVE-7366:
----------------------------------------

No doc needed for this, this is strictly behind-the-scenes. :)

And yup, those look like those should be the only params needed - they gate 
whether or not direct-sql will be used. I toyed with the idea of adding one 
more "hive.metastore.try.direct.sql.experimental" for the newer experimental 
direct sql extensions, to allow a phased introduction of these extensions but 
was convinced [~ashutoshc] would get mad at me if I did. :D

> getDatabase using direct sql
> ----------------------------
>
>                 Key: HIVE-7366
>                 URL: https://issues.apache.org/jira/browse/HIVE-7366
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.14.0
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>            Priority: Critical
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7366.2.patch, HIVE-7366.3.patch, HIVE-7366.4.patch, 
> HIVE-7366.patch
>
>
> Given that get_database is easily one of the most frequent calls made on the 
> metastore, we should have the ability to bypass datanucleus for that, and use 
> direct SQL instead.
> This was something that I did initially as part of debugging HIVE-7368, but I 
> think that given the frequency of this call, it's useful to have it in 
> mainline direct sql.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to