[
https://issues.apache.org/jira/browse/NIFI-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400035#comment-16400035
]
Koji Kawamura commented on NIFI-4980:
-------------------------------------
We may be able to rename the property while providing backward compatibility if
we add additional dynamic property with the old property name and add some
migration logic. However, since the component is relatively new, I'd like to
fix it by simply changing the name.
If the reporting task is in a running state when user upgrade NiFi with this
fix, they will see following error and the reporting task is stay in 'invalid'
state:
{code}
java.lang.IllegalStateException: Reporting Task ReportLineageToAtlasEmu is not
in a valid state for the following reasons:
['kafka-kerberos-service-name-kafka' validated against 'kafka-kafka' is invalid
because 'kafka-kerberos-service-name-kafka' is not a supported property]
at
org.apache.nifi.controller.scheduling.StandardProcessScheduler.schedule(StandardProcessScheduler.java:184)
at
org.apache.nifi.controller.FlowController.startReportingTask(FlowController.java:3452)
at
org.apache.nifi.controller.StandardFlowSynchronizer.applyNewReportingTaskScheduleState(StandardFlowSynchronizer.java:689)
at
org.apache.nifi.controller.StandardFlowSynchronizer.applyReportingTaskScheduleState(StandardFlowSynchronizer.java:679)
{code}
Then they can remove the old property to make it valid again. It's not a good
UX, but I hope it should be acceptable.
> Typo in ReportAtlasLineage kafka kerberos service name property
> ---------------------------------------------------------------
>
> Key: NIFI-4980
> URL: https://issues.apache.org/jira/browse/NIFI-4980
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.5.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
> Priority: Trivial
>
> "Kafka Kerberos Service Name" property name is
> "kafka-kerberos-service-name-kafka". 'kafka' is redundant.
> It should be "kafka-kerberos-service-name".
> This is reported by [~nayakmahesh616].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)