[ https://issues.apache.org/jira/browse/HIVE-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174772#comment-14174772 ]
Lefty Leverenz commented on HIVE-7366: -------------------------------------- Thanks [~sushanth]. Maybe you could have that other config if you called it "hive.metastore.try.direct.sql.but.dont.tell.ashutosh" ... well, maybe not. > 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)