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

Ted Yu commented on HBASE-3620:
-------------------------------

The way of creating ThreadPoolExecutor seems to be inconsistent with the rest 
of codebase:
{code}
tyumac:trunk tyu$ find . -name '*.java' -exec grep 'new ThreadPoolExecutor(' {} 
\; -print
    this.pool = new ThreadPoolExecutor(nrThreads, nrThreads,
./src/main/java/org/apache/hadoop/hbase/client/HTable.java
      this.threadPoolExecutor = new ThreadPoolExecutor(maxThreads, maxThreads,
./src/main/java/org/apache/hadoop/hbase/executor/ExecutorService.java
    executor = new ThreadPoolExecutor(0, numThreads,
./src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
{code}


> Make HBCK Faster
> ----------------
>
>                 Key: HBASE-3620
>                 URL: https://issues.apache.org/jira/browse/HBASE-3620
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.90.2, 0.92.0
>
>         Attachments: hbck_perf.patch
>
>
> Make the HBCK utility contact all region servers & HDFS directories in 
> parallel. This will speedup hbck processing, especially when there are lots 
> of region servers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to