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

Couldn't install nifi as service on a Mac OS (OS X El Capitan 10.11.6) [Update documentation]

    XMLWordPrintableJSON

    Details

      Description

      Original bug report:

      Installed the NiFi via HomeBrew on my Mac laptop with OS X (El Capital v 10.11.6) and ran the start / run commands, gave the expected result.

      But when I say `nifi install` , I couldn't do so. It gave the following message.

      `Installing Apache NiFi as a service is not supported on OS X or Cygwin.`

      and I could see, that the nifi.sh *says the above message if it detected the OS as *Darwin (
      https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh#L59
      )
      and unfortunately the OS X is Darwin. But in the "Getting Started with Apache NiFi", it says installing nifi as a service is supported for OS X users. (Link -> https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#installing-as-a-service)

      Given that we do have work arounds for this on OS X, I am going to update the documentation instead of writing an OS X-specific service handler.

        Attachments

        1. Screen Shot 2017-10-04 at 10.04.55 AM.png
          49 kB
          Karthikeyan Govindaraj

          Activity

            People

            • Assignee:
              mike.thomsen Mike Thomsen
              Reporter:
              gkarthics Karthikeyan Govindaraj
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: