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-9754) Eliminate threadlocal from MVCC code
Date Fri, 18 Oct 2013 23:59:42 GMT

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

Ted Yu commented on HBASE-9754:
-------------------------------

For 0.94, there were a few test failures which mostly passed on rerun.
The following failure was mysterious:
{code}
testDeleteEditUnknownColumnFamilyAndOrTable(org.apache.hadoop.hbase.client.TestAdmin)  Time
elapsed: 2.022 sec  <<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:92)
        at org.junit.Assert.assertTrue(Assert.java:43)
        at org.junit.Assert.assertTrue(Assert.java:54)
        at org.apache.hadoop.hbase.client.TestAdmin.testDeleteEditUnknownColumnFamilyAndOrTable(TestAdmin.java:217)
{code}
It happened with or without patch.
I ran the test suite on Linux.

> Eliminate threadlocal from MVCC code
> ------------------------------------
>
>                 Key: HBASE-9754
>                 URL: https://issues.apache.org/jira/browse/HBASE-9754
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Ted Yu
>             Fix For: 0.98.0
>
>         Attachments: 9754-0.94.txt, 9754-rp-0.txt, 9754-rp-1.txt, 9754-rp-hregion.txt,
9754-rp-hregion-v2.txt, 9754-rp-hregion-v3.txt
>
>
> Brought up by [~vrodionov] and [~yuzhihong@gmail.com].
> Currently we use ThreadLocals to communicate the current readpoint between a RegionScanner
and the Store\{File}Scanner's down the stack.
> Since ThreadLocals are not cheap we should consider whether it is possible to pass the
readpoint through the call stack instead.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message