[ 
https://issues.apache.org/jira/browse/NIFI-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418834#comment-16418834
 ] 

Bryan Bende commented on NIFI-5031:
-----------------------------------

[~junegunn] did this issue happen against a released version or master?

In general, onPropertyModified is called during start up when a component is 
created and given it's properties, so you shouldn't need this fix.

There was an issue on master for a couple of weeks that was reloading a 
component without re-calling onPropertyModified, so  maybe that is what you 
saw, but that is resolved now.

> AvroSchemaRegistry not properly initialized on NiFi restart
> -----------------------------------------------------------
>
>                 Key: NIFI-5031
>                 URL: https://issues.apache.org/jira/browse/NIFI-5031
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Junegunn Choi
>            Priority: Major
>
> When a NiFi instance is restarted, the internal \{{recordSchemas}} map of 
> AvroSchemaRegistry is not populated. The map is only updated when the content 
> of a dynamic property is updated, so unless we manually update all dynamic 
> properties, schema lookups will fail.
> We should rebuild the map from dynamic properties when the service is 
> enabled. Let me post a patch for this via GitHub pull request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to