[ https://issues.apache.org/jira/browse/HIVE-13788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308309#comment-15308309 ]
Hari Sankar Sivarama Subramaniyan edited comment on HIVE-13788 at 5/31/16 9:59 PM: ----------------------------------------------------------------------------------- [~rajesh.balamohan] Do we have the entire Hive stack trace. We might be making unnecessary calls to {{Hive::getPartitions(tbl)}} instead of {{Hive::getAllPartitionsOf(tbl)}} which is light weight (because it doesnt look for auth info). Edit: My bad, didnt see the msck caller. Thanks Hari was (Author: hsubramaniyan): [~rajesh.balamohan] Do we have the entire Hive stack trace. We might be making unnecessary calls to {{Hive::getPartitions(tbl)}} instead of {{Hive::getAllPartitionsOf(tbl)}} which is light weight (because it doesnt look for auth info). Thanks Hari > hive msck listpartitions need to make use of directSQL instead of datanucleus > ----------------------------------------------------------------------------- > > Key: HIVE-13788 > URL: https://issues.apache.org/jira/browse/HIVE-13788 > Project: Hive > Issue Type: Improvement > Reporter: Rajesh Balamohan > Assignee: Hari Sankar Sivarama Subramaniyan > Priority: Minor > Attachments: HIVE-13788.1.patch, msck_stack_trace.png > > > Currently, for tables having 1000s of partitions too many DB calls are made > via datanucleus. -- This message was sent by Atlassian JIRA (v6.3.4#6332)