hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3620) Make HBCK Faster
Date Sat, 12 Mar 2011 18:03:59 GMT

    [ 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

Mime
View raw message