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

Add support for --wait-for-init to nifi.sh restart

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.13.0
    • None
    • Core Framework
    • None

    Description

      Copying from https://github.com/apache/nifi/pull/4814#issuecomment-776138163

      --wait-for-init doesn't apply to nifi.sh restart because the $@ isn't provided to the start. The naive change would be this:

      restart)
          init                                                                                           
          shift
          run "stop"             
          run "start" "$@"
          ;;
      

      I'm not 100% sure whether that's correct though because in run() there's some use of $1 and the shift changes $@.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfrazee Joey Frazee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: