Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

can anyone help on how to install HDF in windows

avatar
New Member
 
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
New Member

thanks its working now