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

CLI - Add a command to start controller services

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Tools and Build
    • None

    Description

      When importing a versioned process group from the registry, all the components will be stopped (in case of update, only the newly added components will be stopped). We already have a command pg-start to start a process group, but it will fail if the process group relies on controller services that should be enabled first.

      A new command like pg-enable-cs could be added, or just add a parameter/flag to the pg-start command.

      Things to consider:

      • there can be a dependency chain between the controller services requiring to start the controller services in the right order. Example: the avro schema registry CS and a reader/writer CS depending on the schema registry CS.
      • there can be a CS defined at pg level that is not referenced by any component inside the pg but that would need to be started nevertheless. Example: the distributed map cache server CS.

      Attachments

        1. TestStartStopCS.xml
          83 kB
          Pierre Villard

        Issue Links

          Activity

            People

              bbende Bryan Bende
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: