Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Actual Filename replaced with the UUID after FetchS3Object

Highlighted

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

Re: Actual Filename replaced with the UUID after FetchS3Object

Super Guru

@shahid rehman

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

Re: Actual Filename replaced with the UUID after FetchS3Object

New Contributor

@Shu .. i have edited the qustiion

Re: Actual Filename replaced with the UUID after FetchS3Object

New Contributor

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

Re: Actual Filename replaced with the UUID after FetchS3Object

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


Re: Actual Filename replaced with the UUID after FetchS3Object

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 :-)