diff --git a/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java b/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java index a230711265..270ba48906 100644 --- a/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java +++ b/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java @@ -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 {