Mostafa Mokhtar created IMPALA-6892:
---------------------------------------
Summary: CheckHashAndDecrypt doesn't report disk and host where
the verification failed
Key: IMPALA-6892
URL: https://issues.apache.org/jira/browse/IMPALA-6892
Project: IMPALA
Issue Type: Bug
Affects Versions: Impala 2.12.0
Reporter: Mostafa Mokhtar
Assignee: Tim Armstrong
Root causing block corruption is difficult because the Status message doesn't
have the offending disk and host.
{code}
Query Type: QUERY
Query State: EXCEPTION
Query Status: Block verification failure
{code}
{code}
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());
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)