Nifi update variable registry api is unable to finish update
Hello experts -
I am using nifi 1.25 in Kubernetes.
I have flow where it updates variable registry of a processor group .
Invoking below url for the same -
<baseNiFiUrl>/process-groups/${ProcessGroupId}/variable-registry/update-requests
It works for some time and once in a while it starts hanging, where it is unable to update the variable registry at and status stuck at processor stopping.
Even I tried running update variable registry after manually stopping the specific processor of processor group where updating variable is being referenced.
Here is the below response I get for var registry update status, it does not change:
{
"request" : {
"requestId" : "77422664-ad85-40d7-9464-4df7df1fe149",
"uri" : "https://nifi-0:9091/nifi-api/process-groups/fec6c2c9-ee27-31ea-6354-851d74803023/variable-registry/77422664-ad85-40d7-9464-4df7df1fe149",
"submissionTime" : "12/20/2024 09:43:32.941 UTC",
"lastUpdated" : "12/20/2024 09:43:32.941 UTC",
"complete" : false,
"percentCompleted" : 0,
"updateSteps" : [ {
"description" : "Identifying components affected",
"complete" : true
}, {
"description" : "Stopping affected Processors",
"complete" : false
}, {
"description" : "Disabling affected Controller Services",
"complete" : false
}, {
"description" : "Applying Updates",
"complete" : false
}, {
"description" : "Re-Enabling affected Controller Services",
"complete" : false
}, {
"description" : "Restarting affected Processors",
"complete" : false
} ],
"processGroupId" : "fec6c2c9-ee27-31ea-6354-851d74803023",
"affectedComponents" : [ {
"revision" : {
"clientId" : "e3716811-0193-1000-9573-b7e6afd1da8d",
"version" : 27
},
"id" : "f22a307d-36ea-37ac-515e-677404e7790b",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "fec6c2c9-ee27-31ea-6354-851d74803023",
"id" : "f22a307d-36ea-37ac-515e-677404e7790b",
"referenceType" : "PROCESSOR",
"name" : "O9QueueRouting",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "fec6c2c9-ee27-31ea-6354-851d74803023",
"name" : "priceinputgspeandivandmarketidtest"
},
"referenceType" : "PROCESSOR"
} ]
}
}
This will work for some time if I restart the nifi and after some time it will be back to square.
Any suggestion would be much appreciated
Thanks
Mahendra

