Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Actual Filename replaced with the UUID after FetchS3Object

New Contributor

i am picking files from S3 Bucket using FetchS3Object and once FetchS3Object Processor runs it change the orignal filename with the UUID in Queue


109839-filename-replaced-with-uuid.jpg

Here is the Complete Flow


109863-completeflow.jpg

5 REPLIES 5

Super Guru

@shahid rehman

Could add your NiFi flow screenshot? more specifically before FetchS3Object processor?

New Contributor

@Shu .. i have edited the qustiion

New Contributor

just ignore the arrows connected with FetchS3Object from left side...those are stopped processors and of no use

Super Guru

@shahid rehman

Possible workaround to resolve this issue could be:

If you are having filename as attribute to the flowfile(after EvaluateJsonPath processor) then by using UpdateAttribute processor after FetchS3Object processor we can change the filename back to the original filename.


Add new property name filename to UpdateAttribute processor

filename 

with value as

${<filename_attribute_name>}


Super Guru

@shahid rehman

If the answer is helpful to resolve the issue, Login and Click on Accept button below to close this thread.This will help other community users to find answers quickly 🙂

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.