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]> 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 > > > >
