Giter Site home page Giter Site logo

nifi-windowsservice's Introduction

nifi-windowsservice

Apache NiFi Windows Service Wrapper

Wrapper for running Apache NiFi as a Windows service. This wrapper is using the Apache Commons ProcRun daemon (like Tomcat).

Master Branch: example branch parameter

Last PR: example event parameter

Dependencies

  1. Maven 3.3+
  2. Java 1.8
  3. Apache NiFi

Build

  1. Download and build Apache NiFi using maven. This project needs nifi-bootrap to compile and run, or at least that jar file.
  2. The file pom.xml contains a property for the NiFi version. Adjust as necessary before building.
  3. Download the source and run: mvn install. An output directory will be created at $root/Dist.

Installation

  1. Copy the nifi-windowsservice.VERSION.jar file into NiFi's /lib/bootstrap directory.
  2. Copy everything in /dist/bin to NiFi's /bin folder.
  3. Execute /bin/install_service.bat.
  4. The service will show up in the service controll manager as "Apache NiFi", with a service name of "nifi-service".
  5. If you need to run service as user other than system account, you may need to set JAVA_HOME environment variable that new user can see (e.g. as a system variable).
  6. You may need to grant permissions (full access) to service run-as user to entire nifi installation folder.

Uninstallation

Uninstallation can be done in two ways:

  1. Execute the Windows service manager commands sc delete nifi-service.
  2. Run the command /bin/nifi-service.exe //DS//nifi-service

Notes

  • When NiFi starts up, it unpacks all jars. This may take some time. If you issue the stop command during this time, it may take a while for the service to stop. The apache daemon may even terminiate the process if it is taking too long, but rest assured, the shutdown has been properly initiated.

nifi-windowsservice's People

Contributors

mikenac avatar zurajm avatar jblank-mf avatar maarufb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.