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

nifi.sh doesn't work as expected when /bin/sh isn't bash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.13.0
    • 1.13.0
    • Core Framework
    • None

    Description

      NIFI-8123 introduced a --wait-for-init option to nifi.sh, making use of some Bash and Zsh-only builtins such as declare. Currently nifi.sh points to /bin/sh though and even when bash is available it can point to other shells such as ash and dash.

      This creates some noise during a regular startup with `start` and the new wait functionality doesn't work with a `start --wait-for-init` with other shells. Startup still succeeds however.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: