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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0, 1.16.1
    • 1.17.0
    • Configuration
    • 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

        Issue Links

          Activity

            People

              markbean Mark Bean
              jsizzle Jon Kessler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h