When this happens please run ./bin/nifi. sh dump and get the thread dump from nifi-bootstrap.log and find the thread related to the GetFile processor, we will need to see the stack for that thread to understand what it is doing Bryan Bende Nov 27 ’18 at 14:14, From the /bin directory, execute the following commands by typing ./nifi. sh : start: starts NiFi in the background. stop: stops NiFi that is running in the background. status: provides the current status of NiFi. run: runs NiFi in the foreground and waits for a Ctrl-C to initiate shutdown of NiFi.
executing the command bin/nifi. sh stop. Installing as a Service Currently, installing NiFi as a service is supported only for Linux and Mac OS X users. To install the application as a service, navigate to the installation directory in a Terminal window and execute the command bin/nifi. sh install to install the service with the default name nifi.
If the number of tasks is not increasing (and equal to 0 after 5 minutes) and the number of threads is constant, it probably means you have a stuck thread. In this case, it is always recommended to do a thread dump of NiFi to see what is going on. To do that:./bin/nifi.sh dump .
onsible for obtaining diagnostic information about many different parts of nifi, the operating system, etc. This closes #3727. Signed-off-by: Bryan Bende, The problem I did not expect is that I could no longer issue commands to the cluster Node nifi. sh (stop, restart, or dump ). I was forced to manually kill the NiFi process to stop it. After installing the good keystore, the Node started and joined the cluster as expected.
I can use the nifi. sh script on linux and I’ve seen reference to a shutdown bat script when googling but I’m using 0.6.1 and it isn’t in that version. I’ve used netstat to find the PID based on the API Port number and then killed that process. But it appears there are always two processes and one will restart the other.
NiFi Toolkit – CLI – For NiFi 1.10. Along with the updated Apache NiFi server, the NiFi 1.10 release also updated the Command Line Interface with some updated and new features. Let’s check them out. S2S.sh – send data to Apache NiFi via the CLI.
For the data being stuck, can you run a nifi. sh dump and then post the contents of the bootstrap.log? Reply. 1,347 Views 0 Kudos Highlighted. Re: Apche NIFI : problem by using QueryDatabaseTable and putelasticsearch lhaozhi. New Contributor. Created on ?12-21-2016 10:56 AM – edited ?08-18-2019 04:49 AM. Mark as New, The Setup. When you add a new data source to Metron, the first step is to decide how to push the events from the new telemetry data source into Metron. You can use a number of data collection tools and that decision is decoupled from Metron. An excellent tool for pushing data into Metron is Apache NiFi which this section will describe how to use.