Wei-Chiu Chuang created HDDS-13739:
--------------------------------------

             Summary: Reduce chattiness of error messages if client fails to 
PutBlock or WriteChunk
                 Key: HDDS-13739
                 URL: https://issues.apache.org/jira/browse/HDDS-13739
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Wei-Chiu Chuang


When client fails to send WriteChunk or PutBlock, it prints the full message 
payload in the log, which is too verbose.

Suggest to print only the very basic metadata. E.g. remove checksumData field.
{noformat}
25/10/03 18:39:08 ERROR impl.OrderedAsync: Failed to send request, 
message=cmdType: WriteChunk
traceID: ""
containerID: 1013
datanodeUuid: "d3c9e59b-6aff-4f1c-b63b-ed99a4cf232d"
writeChunk {
  blockID {
    containerID: 1013
    localID: 115816896921610534
    blockCommitSequenceId: 0
    replicaIndex: 0
  }
  chunkData {
    chunkName: "115816896921610534_chunk_1"
    offset: 0
    len: 4194304
    checksumData {
      type: CRC32
      bytesPerChecksum: 16384
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
      checksums: "\355\361\371\301"
...

{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to