hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huaxiang sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17792) Use a shared thread pool for AtomicityWriter, AtomicGetReader, AtomicScanReader's connections in TestAcidGuarantees
Date Thu, 16 Mar 2017 22:45:41 GMT

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

huaxiang sun commented on HBASE-17792:
--------------------------------------

Thanks [~saint.ack@gmail.com]. The branch-1 is using old way of HTable's deprecated APIs,
so it is fine.

> Use a shared thread pool for AtomicityWriter, AtomicGetReader, AtomicScanReader's connections
in TestAcidGuarantees
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17792
>                 URL: https://issues.apache.org/jira/browse/HBASE-17792
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17792-master-001.patch
>
>
> AtomicityWriter, AtomicGetReader, AtomicScanReader creates connection inside, since the
thread pool is not shared, by default each connection will create 256 threads. If there are
5 AtomicityWriters, 1 AtomicGetReader, and 1 AtomicScanReader, it will create lots of threads
and causes max user processes  to be reached, and OOME. Use a share thread pool to work around
this issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message