mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 06:55:28 +00:00
NIFI-145: Fixed issue that indicated that NiFi was hung or died when the .pid file wasn't found
This commit is contained in:
parent
8cf0c7814e
commit
2a2f0f0364
@ -373,6 +373,11 @@ public class RunNiFi {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( status.getPort() == null ) {
|
||||
logger.info("Apache NiFi is not running");
|
||||
return;
|
||||
}
|
||||
|
||||
if ( status.getPid() == null ) {
|
||||
logger.info("Apache NiFi is not responding to Ping requests. The process may have died or may be hung");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user