nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Wing <jvw...@gmail.com>
Subject Re: PutS3Object processor error
Date Tue, 27 Feb 2018 14:48:03 GMT
How are you configuring S3 permissions on the processor? Is that the same
method as you used in your testing with Cyberduck?

Will your permissions allow you to test the same credential with ListS3 or
FetchS3Object for comparison?

On Tue, Feb 27, 2018 at 12:14 AM, Paula <paula.jappinen@sanoma.com> wrote:

> Hi, here is the full stack trace:
>
>
> StackTrace
> com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service:
> Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID:
> 218490792F1702DA), S3 Extended Request ID:
> 4NZDzOIk10dk6eP2ZLJGdYKQT8nEjuaRcuYeTUcFg3WrVNs9MpN50o78vxwc
> wQ2m+IfoVTEOGfo=
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(
> AmazonHttpClient.java:1545)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(
> AmazonHttpClient.java:1183)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(
> AmazonHttpClient.java:964)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(
> AmazonHttpClient.java:676)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(
> AmazonHttpClient.java:650)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(
> AmazonHttpClient.java:633)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$300(
> AmazonHttpClient.java:601)
>         at
> com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.
> execute(AmazonHttpClient.java:583)
>         at com.amazonaws.http.AmazonHttpClient.execute(
> AmazonHttpClient.java:447)
>         at
> com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4137)
>         at
> com.amazonaws.services.s3.AmazonS3Client.putObject(
> AmazonS3Client.java:1685)
>         at
> org.apache.nifi.processors.aws.s3.PutS3Object$1.process(
> PutS3Object.java:474)
>         at
> org.apache.nifi.controller.repository.StandardProcessSession.read(
> StandardProcessSession.java:2125)
>         at
> org.apache.nifi.controller.repository.StandardProcessSession.read(
> StandardProcessSession.java:2095)
>         at
> org.apache.nifi.processors.aws.s3.PutS3Object.onTrigger(
> PutS3Object.java:417)
>         at
> org.apache.nifi.processor.AbstractProcessor.onTrigger(
> AbstractProcessor.java:27)
>         at
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(
> StandardProcessorNode.java:1118)
>         at
> org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(
> ContinuallyRunProcessorTask.java:144)
>         at
> org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(
> ContinuallyRunProcessorTask.java:47)
>         at
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(
> TimerDrivenSchedulingAgent.java:132)
>         at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
>         at java.util.concurrent.FutureTask.runAndReset(
> FutureTask.java:308)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
> ScheduledThreadPoolExecutor.java:294)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> Thread
> Timer-Driven Process Thread-4
> Time
> 2018-02-27 08:06:54,0968
> facility
> logstash-gelf
> full_message
> PutS3Object[id=9842b19e-ced7-135a-0000-000025f4758f] Failed to put
> StandardFlowFileRecord[uuid=85cb4348-118e-4333-a450-fba335f2661b,claim=
> StandardContentClaim
> [resourceClaim=StandardResourceClaim[id=1519561911161-24,
> container=default,
> section=24], offset=85171,
> length=98],offset=0,name=15635851915902771,size=98] to Amazon S3 due to
> com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service:
> Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID:
> 218490792F1702DA), S3 Extended Request ID:
> 4NZDzOIk10dk6eP2ZLJGdYKQT8nEjuaRcuYeTUcFg3WrVNs9MpN50o78vxwc
> wQ2m+IfoVTEOGfo=:
> {}
> level
> 3
> message
> PutS3Object[id=9842b19e-ced7-135a-0000-000025f4758f] Failed to put
> StandardFlowFileRecord[uuid=85cb4348-118e-4333-a450-fba335f2661b,claim=
> StandardContentClaim
> [resourceClaim=StandardResourceClaim[id=1519561911161-24,
> container=default,
> section=24],
> node
> 1
> source
> ip-10-162-48-70.eu-west-1.compute.internal
> system
> nifi
> timestamp
> 2018-02-27T08:06:54.968Z
>
>
>
> --
> Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/
>

Mime
View raw message