-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 0.5.0
-
Fix Version/s: 0.5.0
-
Component/s: Ozone Datanode
-
Labels:
-
Target Version/s:
Chunk checksum verification fails for (almost) any file. This is caused by computing checksum for the entire buffer, regardless of the actual size of the chunk.
byte[] buffer = new byte[cData.getBytesPerChecksum()]; ... v = fs.read(buffer); ... bytesRead += v; ... ByteString actual = cal.computeChecksum(buffer) .getChecksums().get(0);
This results in marking all closed containers as unhealthy.
- links to