com.amazonaws.services.s3.model.AmazonS3Exception记录

1.关于com.amazonaws.services.s3.model.AmazonS3Exception: null (Service:
Amazon S3; Status Code: 400; Error Code: InvalidPart; Request ID:
tx0000000000000042cc701-0060594d57-139ef2-gpu-store) 异常处理

我的是因为PartEtag 类保存出错(当时用同一个文件测得切片1,2,3 以为里面的eTag都相同)

2.关于 Exception in thread “main” com.amazonaws.services.s3.model.AmazonS3Exception: null (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: tx0000000000000042cea4e-0060599749-139ef2-gpu-store), S3 Extended Request ID: 139ef2-gpu-store-gpu-store

我的是因为InitiateMultipartUploadRequest request 里面的bucketName 不存在

com.amazonaws.services.s3.model.AmazonS3Exception: null (Service: Amazon S3; Status Code: 404; Error Code: NoSuchUpload; Request ID: tx0000000000000042ceb43-0060599a4c-139ef2-gpu-store), S3 Extended Request ID: 139ef2-gpu-store-gpu-store

我的是因为 uploadId 与 filename 不匹配 或者器中某个出错了

你可能感兴趣的:(java文件,ceph)