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.

PartitionRecord processor does not add attribute to downstream flowfile

PartitionRecord processor does not add attribute to downstream flowfile

New Contributor

72513-4-29-2018-4-21-48-pm.png

Hi,

As mentioned in the documentation the "PartitionRecord" processor should automatically add the partitioning property name and value as attribute to the flowfile.

I have a simple input file contains an array of three json records. I partition the json records according to "AgencyID" property( type string)

I do see the downstream partitioned flowfiles but without "AgencyID" attribute.

72515-4-29-2018-4-29-43-pm.png

Am i missing some configuration ?

Thanks

input2.txt

3 REPLIES 3

Re: PartitionRecord processor does not add attribute to downstream flowfile

Super Guru

@rom weinstein

In Partition record processor add the value for
AgencyID property as

/AgencyID

Then the processor will add AgencyID attribute with the value.

72516-partitonrecord.png

Re: PartitionRecord processor does not add attribute to downstream flowfile

New Contributor

worked. Thanks @Shu

Re: PartitionRecord processor does not add attribute to downstream flowfile

Super Guru
@rom weinstein

Awesome, Glad to know that :)
Cloud you please Click on Accept button below, To close the thread as resolve. That would be great help to another Community users to find solution quickly for these kind of issues.


accept.png