Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6892

CheckHashAndDecrypt doesn't report disk and host where the verification failed

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Root causing block corruption is difficult because the Status message doesn't have the offending disk and host.

      
          Query Type: QUERY
          Query State: EXCEPTION
          Query Status: Block verification failure
      
      Status TmpFileMgr::WriteHandle::CheckHashAndDecrypt(MemRange buffer) {
        DCHECK(FLAGS_disk_spill_encryption);
        SCOPED_TIMER(encryption_timer_);
      
        // GCM mode will verify the integrity by itself
        if (!key_.IsGcmMode()) {
          if (!hash_.Verify(buffer.data(), buffer.len())) {
            return Status("Block verification failure");
          }
        }
        return key_.Decrypt(buffer.data(), buffer.len(), buffer.data());
      }
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tarmstrong Tim Armstrong
            mmokhtar Mostafa Mokhtar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment