COSBench Tests Stop Abnormally
Symptom
COSBench tests stop as data failed the integrity check.
Key Process and Cause Analysis
COSBench tests stop as data MD5 validation failed.
Conclusion and Solution
- View COSBench logs.
vim /path/to/cosbench/archive/workload/workload.log
It consists the following error message:[ERROR] [ErrorStatistics] - error code: N/A occurred 7 times, fail to operate: test4/myobjects59, test4/myobjects59, test4/myobjects1699, test1/myobjects2686, test3/myobjects10623, test4/myobjects10624, test1/myobjects26871 com.amazonaws.AmazonClientException: Unable to verify integrity of data download. Client calculated content hash didn't match hash calculated by Amazon S3. The data may be corrupt.
- Add the following to the Java command line in the /path/to/cosbench/cosbench-start.sh script to disable MD5 validation:
-Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true
- Restart all COSBench processes.