Support Questions

Find answers, ask questions, and share your expertise

can anyone help on how to install HDF in windows

avatar
Explorer
 
1 ACCEPTED SOLUTION

avatar

@Prakash Thangavel, installing NiFi on Windows is pretty straight forward but there are a couple of limitations right now:

  1. There isn't an installer
  2. There isn't any Windows services integration for start/stop/restart

That said, it runs fine (and the Apache project does include Windows builds in its continuous integration). So, assuming you have a JDK/JRE installed, you can just download either the HDF or Apache NiFi .zip or .tar.gz, uncompress it to whatever desired location, and then run it by executing the batch script ./bin/run-nifi.bat.

I've seen a few issues pop up with installations on Windows, so there are some things to keep in mind:

  • Make sure to use a 64-bit Java 1.7 or 1.8 JDK/JRE, especially if you're going to increase the heap size in ./conf/boostrap.conf.
  • Recent versions of Windows sweep through C:\Program Files periodically and set all files to read-only, so installing NiFi in C:\Program Files doesn't work unless you change the location of ./conf/flow.xml.gz, ./conf/archive, ./logs, ./state, ./work, and all of the data repositories (./*_repository). Basically, install it somewhere besides C:\Program Files.

View solution in original post

2 REPLIES 2

avatar

@Prakash Thangavel, installing NiFi on Windows is pretty straight forward but there are a couple of limitations right now:

  1. There isn't an installer
  2. There isn't any Windows services integration for start/stop/restart

That said, it runs fine (and the Apache project does include Windows builds in its continuous integration). So, assuming you have a JDK/JRE installed, you can just download either the HDF or Apache NiFi .zip or .tar.gz, uncompress it to whatever desired location, and then run it by executing the batch script ./bin/run-nifi.bat.

I've seen a few issues pop up with installations on Windows, so there are some things to keep in mind:

  • Make sure to use a 64-bit Java 1.7 or 1.8 JDK/JRE, especially if you're going to increase the heap size in ./conf/boostrap.conf.
  • Recent versions of Windows sweep through C:\Program Files periodically and set all files to read-only, so installing NiFi in C:\Program Files doesn't work unless you change the location of ./conf/flow.xml.gz, ./conf/archive, ./logs, ./state, ./work, and all of the data repositories (./*_repository). Basically, install it somewhere besides C:\Program Files.

avatar
Explorer

thanks its working now