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-9990) HTable uses the conf for each "newCaller"
Date Thu, 06 Mar 2014 11:52:46 GMT

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

Hudson commented on HBASE-9990:
-------------------------------

FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #191 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/191/])
HBASE-9990 HTable uses the conf for each newCaller (Nicolas Liochon) (apurtell: rev 1574772)
* /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
* /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerFactory.java
* /hbase/branches/0.98/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java


> HTable uses the conf for each "newCaller"
> -----------------------------------------
>
>                 Key: HBASE-9990
>                 URL: https://issues.apache.org/jira/browse/HBASE-9990
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>             Fix For: 0.98.1, 0.99.0
>
>         Attachments: 9990.v1.patch, 9990.v2.98.patch, 9990.v2.patch
>
>
> You can construct a RpcRetryingCallerFactory, but actually the conf is read for each
caller creation. Reading the conf is obviously expensive, and a profiling session shows it.
If we want to sent hundreds of thousands of queries per second, we should not do that.
> RpcRetryingCallerFactory.newCaller is called for each get, for example.
> This is not a regression, we have something similar in 0.94.
> On the 0.96, we see the creation of: java.util.regex.Matcher: 15739712b after a few thousand
calls to "get".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message