You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Allen (JIRA)" <ji...@apache.org> on 2013/10/31 21:03:17 UTC

[jira] [Commented] (ACCUMULO-1654) Bug in encryption-at-rest causes periodic IOExceptions

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

Michael Allen commented on ACCUMULO-1654:
-----------------------------------------

[~kturner] Yes, that's intentional, because the IOException will occur before the initialized variable is set.  My operating assumption there would be that the next time the caller asks for the key, the strategy will attempt to initialize again, and we can hope that the IOException was transitory.

> Bug in encryption-at-rest causes periodic IOExceptions
> ------------------------------------------------------
>
>                 Key: ACCUMULO-1654
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1654
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: tserver
>            Reporter: Michael Allen
>            Assignee: Michael Allen
>             Fix For: 1.6.0
>
>         Attachments: 0001-Fixed-a-bug-where-keys-and-IVs-from-encrypted-files-.patch
>
>
> During longevity testing of the encryption-at-rest version of Accumulo, we would occasionally see IOExceptions that took the form of Zlib throwing an "incorrect header check" exception.  These exceptions occurred only after a few hours of testing, during minor and major compaction of various RFiles.  Downloading and examining the RFiles in question showed no obvious deformities within the RFile structure.  
> Some careful debugging later, the crux of the problem turned out to be some calls to read() when readFully() should have been used.  
> Patch coming forthwith.  Also included in this patch is another secret key handling strategy that caches the secret key from HDFS when first read.



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