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

Jean-Daniel Cryans commented on HBASE-8732:
-------------------------------------------

So the problem is that {{HStore}} has a {{HFileDataBlockEncoderImpl}} which has 
a {{HFileBlockDefaultEncodingContext}} which is not thread safe. 
{{onDiskBytesWithHeader}}, {{uncompressedBytesWithHeader}}, and {{blockType}} 
are currently shared between threads without any protection so this mangles the 
block headers.

HBASE-5521 added this code for HBASE-5313, but then it didn't go anywhere. I'm 
starting a discussion in the latter to see what's going on, I'm thinking of 
reverting 5521 right now.
                
> Changing Encoding on Column Families errors out
> -----------------------------------------------
>
>                 Key: HBASE-8732
>                 URL: https://issues.apache.org/jira/browse/HBASE-8732
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.98.0, 0.95.1
>            Reporter: Elliott Clark
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.95.2
>
>
> Getting an error when opening a scanner on a file that has no encoding.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to