-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultipleFileUploader JAVA SDA bytes reported must be non-negative Exception #1008
Comments
Hi @studioam, thanks for reporting this issue. Looks like a case of integer overflow to me: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/LegacyS3ProgressListener.java#L53. Will verify and get a fix out if so. |
Hi @studioam, I've pushed a fix for this internally and it should released next week (probably Monday 2/6). Also, please ensure that you're using |
Hi, thanks for the jint, i was using the deprecated one , com.amazonaws.services.s3.model.ProgressListener so maybe the fix is not necessary. Will try with com.amazonaws.event.ProgressListener and report |
It's still a bug in the code so it's good that it was reported :). It's likely to trip up future users as well so we also added better documentation to avoid using the deprecated classes. |
You're right, even with non-deprecated class the issue still stands. |
I also have an odd exception when using a MultipleFileUploader.uploadDir ; the dir is 158Gb sized and includes 30Gb files. It randomly appears with the listener to monitor multiplefilesupload. 5-6 times during total upload process, and some files upload fail. The result is an uncomplete directory in the bucket.
The listener in the upload tool is set as follows:
and in the main prog:
The text was updated successfully, but these errors were encountered: