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.

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

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

New Contributor

worked. Thanks @Shu

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
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.