Support Questions

Find answers, ask questions, and share your expertise

not able to remove nifi

avatar
Super Collaborator

Hi,

Due to space issues I wanted to remove nifi installed folder, but some reason it stays and the logs come back

[root@Master nifi-1.0.0]# ls

database_repository

[root@Master nifi-1.0.0]# cd database_repository/

[root@Master database_repository]# ls

nifi-flow-audit.lock.db nifi-user-keys.lock.db

These files are not getting removed. pls suggest.

Thanks,

Avijeet

1 ACCEPTED SOLUTION

avatar

I've seen this before when you try to do a maven build while NiFi is running leaving a lingering process. Try running "jps" to see if there is a "NiFi" process still running. If so then run "kill X" where X is the PID of the process.

After killing the process you should be able to delete the files and they will stay deleted.

View solution in original post

2 REPLIES 2

avatar

I've seen this before when you try to do a maven build while NiFi is running leaving a lingering process. Try running "jps" to see if there is a "NiFi" process still running. If so then run "kill X" where X is the PID of the process.

After killing the process you should be able to delete the files and they will stay deleted.

avatar
Explorer