Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-998 support encryption at rest
  3. ACCUMULO-1654

Bug in encryption-at-rest causes periodic IOExceptions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • tserver
    • None

    Description

      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.

      Attachments

        Activity

          People

            supermallen Michael Allen
            supermallen Michael Allen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: