hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6565) hbase coprocessor return the Map<byte[],R> object sometimes have a wrong size
Date Wed, 15 Aug 2012 06:07:38 GMT

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

Gary Helmling commented on HBASE-6565:

@Stack - this is needed because the TreeMap is referenced in the Callback that is pushed down
into the Callable run in the HTable thread pool.  Definitely an important fix.
> hbase coprocessor return the Map<byte[],R> object sometimes have a wrong size
> -----------------------------------------------------------------------------
>                 Key: HBASE-6565
>                 URL: https://issues.apache.org/jira/browse/HBASE-6565
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.94.0
>         Environment: hadoop1.0.2,hbase0.94,jdk1.6
>            Reporter: Yuan Kang
>              Labels: patch
>         Attachments: Coprocessor-result-thread unsafe-bug-fix.patch
>   Original Estimate: 168h
>  Remaining Estimate: 168h
> I develop a coprocessor program ,but found some different results in repeated tests.for
example,normally,the result's size is 10.but sometimes it appears 9.
> I read the HTable.java code,found a TreeMap(thread-unsafe) be used in multithreading
environment.It cause the bug happened

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message