[
https://issues.apache.org/jira/browse/HBASE-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006142#comment-13006142
]
Ted Yu commented on HBASE-3620:
-------------------------------
I was comparing the code from HTable:
{code}
this.pool = new ThreadPoolExecutor(nrThreads, nrThreads,
60, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>(),
new DaemonThreadFactory());
((ThreadPoolExecutor)this.pool).allowCoreThreadTimeOut(true);
{code}
with the code in hbck:
{code}
executor = new ThreadPoolExecutor(0, numThreads,
THREADS_KEEP_ALIVE_SECONDS, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>());
{code}
I think the above code matches Himanshu Vashishtha's description in HBASE-3553
Hence the reason for my first comment.
> 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