-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48520/#review137096
-----------------------------------------------------------




ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java (line 
385)
<https://reviews.apache.org/r/48520/#comment202258>

    My bad for the not catching this earlier. Realized this could be dangerous 
as it is inside a recursive call. For each level of the directory, you are 
creating a new thread pool, which means that you can potentially go all the way 
to create (#THREADS)^(#levels) worker threads instead of (#THREADS) and 
effectively choke the system. You need to share the thread pool amongst all the 
recursive calls, so that way you dont create a new pool for each level of 
recursion.


- Hari Sankar Sivarama Subramaniyan


On June 10, 2016, 11:58 p.m., pengcheng xiong wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48520/
> -----------------------------------------------------------
> 
> (Updated June 10, 2016, 11:58 p.m.)
> 
> 
> Review request for hive and Hari Sankar Sivarama Subramaniyan.
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> HIVE-13984
> 
> 
> Diffs
> -----
> 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 285caa3 
>   ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java 
> 10fa561 
> 
> Diff: https://reviews.apache.org/r/48520/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> pengcheng xiong
> 
>

Reply via email to