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-14954) IllegalArgumentException was thrown when doing online configuration change in CompactSplitThread
Date Wed, 09 Dec 2015 15:24:11 GMT

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

Ted Yu commented on HBASE-14954:
--------------------------------

Thanks for the patch, Victor

> IllegalArgumentException was thrown when doing online configuration change in CompactSplitThread
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14954
>                 URL: https://issues.apache.org/jira/browse/HBASE-14954
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction, regionserver
>    Affects Versions: 1.1.2
>            Reporter: Victor Xu
>            Assignee: Victor Xu
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3
>
>         Attachments: HBASE-14954-v1.patch
>
>
> Online configuration change is a terrific feature for HBase administrators. However,
when we use this feature to tune compaction thread pool size online, it triggered a IllegalArgumentException.
The cause is the order of setMaximumPoolSize() and setCorePoolSize() of ThreadPoolExecutor:
when turning parameters bigger, we should setMax first; when turning parameters smaller, we
need to setCore first. Besides, there is also a copy-code bug in merge and split thread pool
which I will fix together.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message