Created on 03-30-2022 07:37 AM - edited 03-30-2022 07:52 AM
2022-03-30 06:12:42,697 ERROR [Timer-Driven Process Thread-10] o.a.n.p.aws.dynamodb.PutDynamoDB PutDynamoDB[id=d8f73587-017f-1000-2455-aaff9f514cba] Hash key value '' is required for flow file StandardFlowFileRecord[uuid=eaf5b5ae-86c1-44b1-a253-00d44fdbbbff,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1648526788099-3, container=default, section=3], offset=0, length=45235],offset=44777,name=472d9a5c-9b9e-4a2e-91ae-589fbf7a5bec,size=458]
2022
Any help will be much appreciated.
Created 03-30-2022 10:43 PM
@gizo ,
Is "dynamodb.item.hash.key.value" a property of your flowfile?
Could you show a screenshot of the flowfile properties para with that property?
Cheers,
André
Created 03-31-2022 06:16 AM
This is what I have.
sample json from the executesql after split json.
{
"CreatedBy" : "jdhjhehdhjdjs",
"CreatedDateTime" : "2021-10-20 12:05:42.0",
"LastModBy" : "dhjdjjwjsjds",
"LastModDateTime" : "2021-12-01 17:41:31.0",
"OwnerTeam" : null,
"OwnerType" : null,
"RecId" : "udhehdhhwgeueuhd73764hdhsh",
"CloudServiceTag" : null,
"SQLCores" : null
}
Created 03-31-2022 02:46 PM
@gizo ,
The JSON you shared is the "content" of the flowfile. The flowfile also have "attributes" metadata. Could you please share a screenshot of that?
André
Created 04-01-2022 07:12 AM
see below
Created 04-01-2022 07:26 PM
@gizo ,
In your processor you set "Ranger Key Value" to "${dynamodb.item.range.key.value}". This would reference to an attribute in your flowfile, but from the details you provided, there's no such attribute there. This may be the cause of the error.
You must ensure that the attribute exists in the flowfile so that you can reference it in the processor configuration.
Cheers,
André