[
https://issues.apache.org/jira/browse/NIFI-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007977#comment-15007977
]
Joe Skora commented on NIFI-1107:
---------------------------------
[~joewitt] and [~tkurc],
I'm fine keeping it simpler with a single processor. I'll try to keep the
changes to PutS3Object straightforward for the user without compromising
functionality. Here's what I think it will look like.
Attributes added to PutS3:
1. Multipart Threshold - files with size <= threshold are uploaded with
existing single upload behavior and files with size > threshold use the new
multipart behavior. Valid range is 50MB to 5GB and the default is 5GB.
2. Multipart Part Size - size of parts if multipart upload is being used.
Valid range is 50MB to 5GB and the default is 5GB.
3. Endpoint Override - this is being added to all of the S3 processors to
support use of non-Amazon S3-compatible systems including OpenStack and
Eucalyptus.
Changes to the PutS3 behavior:
1. Current stateless upload for files with size <= threshold.
2. Multipart stateful upload for files with size > theshold.
3. Resumption of stateful uploads if upload state exists for a received flow
file.
4. Attributes expanded to include s3.bucket, s3.key, s3.version, s3.etag,
s3.uploadId, s3.expiration, and s3.usermetadata.
The threshold and part size ranges are based on the Amazon S3 API, parts other
than the last must be at least 50 MB in size and can't be larger than 5GB like
the single upload file size limit. Keeping the defaults for both at the 5GB
limit will allow one 10GB file to upload very similarly to two 5GB files.
Does this sound good? If so, I'll kill the existing pull request and then open
a new one once things are reworked.
Regards,
Joe
> Create new PutS3ObjectMultipart processor
> -----------------------------------------
>
> Key: NIFI-1107
> URL: https://issues.apache.org/jira/browse/NIFI-1107
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Reporter: Joe Skora
> Assignee: Joe Skora
> Labels: s3
> Fix For: 0.5.0
>
>
> A new `PutS3ObjectMultipart` processor using the AWS S3 API to upload files
> larger than those supported by `PutS3Object` which has a [5GB
> limit|http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html]
> limit.
> To support S3 compatible endpoints this will also add an `Endpoint Override
> URL` property to `AbstractAWSProcessor` to set the service
> [endpoint|http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/AmazonWebServiceClient.html#setEndpoint(java.lang.String)]
> to override the endpoint URL normally selected based on the the Amazon
> region.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)