Could someone please let me know what is wrong with the configuration that it is failing?
From: Aruna Sankaralingam [mailto:[email protected]] Sent: Monday, December 11, 2017 1:07 PM To: [email protected] Subject: RE: ListS3 Processor Error Attached my nifi-app.log. Could you please let me know what went wrong? From: Joe Witt [mailto:[email protected]] Sent: Friday, December 08, 2017 4:04 PM To: [email protected]<mailto:[email protected]> Subject: Re: ListS3 Processor Error Here is an example I found for another processor https://mail-archives.apache.org/mod_mbox/nifi-dev/201509.mbox/%3CCAFddr26AEVqnoQ=mWr7DSNDFVrr9NuYy9GCcXg=4fyycqab...@mail.gmail.com%3E Thanks On Fri, Dec 8, 2017 at 4:02 PM, Aruna Sankaralingam <[email protected]<mailto:[email protected]>> wrote: Joe, Could you please let me know how to turn on the debug logging? From: Joe Witt [mailto:[email protected]<mailto:[email protected]>] Sent: Friday, December 08, 2017 3:59 PM To: [email protected]<mailto:[email protected]> Subject: Re: ListS3 Processor Error What version of NiFi? Looks like either a classpath/classloader issue OR the amazon client library cannot parse the response it is getting back... The logs/nifi-app.log should have the full stack trace. If not you can turn on debug logging for that processor and perhaps then it will. Thanks On Fri, Dec 8, 2017 at 3:56 PM, Aruna Sankaralingam <[email protected]<mailto:[email protected]>> wrote: I am trying to get a pdf file from S3 and load to Elastic Search. The ListS3 processor is giving me this error. Could someone please let me know where I am going wrong? 20:52:25 UTC ERROR 37d7226e-0160-1000-6049-d4c489cd32f3 ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] failed to process session due to com.amazonaws.SdkClientException: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler 20:52:25 UTC WARNING 37d7226e-0160-1000-6049-d4c489cd32f3 ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] Processor Administratively Yielded for 1 sec due to processing failure 20:52:26 UTC ERROR 37d7226e-0160-1000-6049-d4c489cd32f3 ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] failed to process due to com.amazonaws.SdkClientException: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler; rolling back session: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler 20:52:26 UTC ERROR 37d7226e-0160-1000-6049-d4c489cd32f3 ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] failed to process session due to com.amazonaws.SdkClientException: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler 20:52:26 UTC WARNING 37d7226e-0160-1000-6049-d4c489cd32f3 ListS3[id=37d7226e-0160-1000-6049-d4c489cd32f3] Processor Administratively Yielded for 1 sec due to processing failure Auto-refresh [cid:[email protected]]
