Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5378

NiFiProperties: Add check to validation to prevent startup when duplicate keys are encountered

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None

      Description

      Currently duplicate keys can exist in the nifi.properties file and you aren't necessarily guaranteed or sure which value will be used when the system starts. There is already a method in NiFiProperties.java for validation at startup. Logic should be added so that when duplicates are encountered the system is notĀ permitted to start. Also include a good log message to say what the duplicates are and what the issue was.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jsizzle Jon Kessler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: