Here is an example I found for another processor

  https://mail-archives.apache.org/mod_mbox/nifi-dev/201509.mbox/%3CCAFddr26AEVqnoQ=mWr7DSNDFVrr9NuYy9GCcXg=4FYyCQAbbuw@mail.gmail.com%3E

Thanks

On Fri, Dec 8, 2017 at 4:02 PM, Aruna Sankaralingam <Aruna.Sankaralingam@cormac-corp.com> wrote:

Joe,

Could you please let me know how to turn on the debug logging?

 

From: Joe Witt [mailto:joe.witt@gmail.com]
Sent: Friday, December 08, 2017 3:59 PM
To: users@nifi.apache.org
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 <Aruna.Sankaralingam@cormac-corp.com> 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