Open yangzhm opened 4 years ago
I have read the source code cosbench\dev\cosbench-s3\src\com\intel\cosbench\api\S3Stor\S3Storage.java. Not support mutipart for S3!
public void createObject(String container, String object, InputStream data,
long length, Config config) {
super.createObject(container, object, data, length, config);
try {
ObjectMetadata metadata = new ObjectMetadata();
metadata.setContentLength(length);
metadata.setContentType("application/octet-stream");
client.putObject(container, object, data, metadata);
} catch (Exception e) {
throw new StorageException(e);
}
}
I want to write big files to S3 storage by cosbench. There is a "Chuncked" config ,but I cann't find the chuncked size. How can I set the chuncked size?