hbase-issues mailing list archives

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

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

stack commented on HBASE-6565:
------------------------------

@Yuan HTable is not really thread safe.  See the class comment.  Given that should we apply
this patch?
                
> 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

        

Mime
View raw message