hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14954) IllegalArgumentException was thrown when doing online configuration change in CompactSplitThread
Date Wed, 09 Dec 2015 17:54:11 GMT

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

Hudson commented on HBASE-14954:
--------------------------------

FAILURE: Integrated in HBase-1.2 #432 (See [https://builds.apache.org/job/HBase-1.2/432/])
HBASE-14954 IllegalArgumentException was thrown when doing online (tedyu: rev f4fec4cd13043c8d50e2bd063903269382a6306f)
* hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompactSplitThread.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java


> 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