[ https://issues.apache.org/jira/browse/HIVE-15803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856366#comment-15856366 ]
Ashutosh Chauhan commented on HIVE-15803: ----------------------------------------- [~nandakumar131] Trouble with list of pool is, its unbounded, in pathological case of large number of levels, we will have large number of pools each having its own set of threads. I like [~pattipaka] suggestion better of using counter that we get sharing as much as possible with predefined number of threads. Would you like to create a patch with that approach? > msck can hang when nested partitions are present > ------------------------------------------------ > > Key: HIVE-15803 > URL: https://issues.apache.org/jira/browse/HIVE-15803 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Priority: Minor > > Steps to reproduce. > {noformat} > CREATE TABLE `repairtable`( `col` string) PARTITIONED BY ( `p1` string, > `p2` string) > hive> dfs -mkdir -p /apps/hive/warehouse/test.db/repairtable/p1=c/p2=a/p3=b; > hive> dfs -touchz > /apps/hive/warehouse/test.db/repairtable/p1=c/p2=a/p3=b/datafile; > hive> set hive.mv.files.thread; > hive.mv.files.thread=15 > hive> set hive.mv.files.thread=1; > hive> MSCK TABLE repairtable; > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)