Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
05-31-2016
07:03 AM
- last edited on
04-21-2026
05:31 AM
by
GrazittiAPI
Hello
I have downloaded HDF in a centos 7 machine and i have started the service. When i run bin/nifi.sh status, i get the following
Nifi is currently running, listening to Bootstrap on port 40883, PID=18516
However when i enter http://<servername>:8080/nifi the UI fails to appear. Is there anything i am missing? Please advise
Regards
Ahmad
Created 05-31-2016 01:12 PM
Created 05-31-2016 07:11 AM
can you check nifi bootstrap logs to see if there is any port conflict.
Created 05-31-2016 07:52 AM
Please find below the bootstrap log
2016-05-31 09:40:05,021 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: [] 2016-05-31 09:40:05,027 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED 2016-05-31 09:40:05,027 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED 2016-05-31 09:40:05,027 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED 2016-05-31 09:40:05,035 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi... 2016-05-31 09:40:05,035 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /opt/HDF-1.2.0.1-1/nifi 2016-05-31 09:40:05,036 INFO [main] org.apache.nifi.bootstrap.Command Command: /opt/jdk1.7.0_79/bin/java -classpath /opt/HDF-1.2.0.1-1/nifi/./conf:/opt/HDF-1.2.0.1-1/nifi/./lib/jcl-over-slf4j-1.7.12.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/jul-to-slf4j-1.7.12.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/log4j-over-slf4j-1.7.12.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/logback-classic-1.1.3.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/logback-core-1.1.3.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/nifi-api-0.6.0.1.2.0.1-1.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/nifi-documentation-0.6.0.1.2.0.1-1.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/nifi-nar-utils-0.6.0.1.2.0.1-1.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/nifi-properties-0.6.0.1.2.0.1-1.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/nifi-runtime-0.6.0.1.2.0.1-1.jar:/opt/HDF-1.2.0.1-1/nifi/./lib/slf4j-api-1.7.12.jar -Djava.net.preferIPv4Stack=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Djava.awt.headless=true -Xms512m -Dnifi.properties.file.path=/opt/HDF-1.2.0.1-1/nifi/./conf/nifi.properties -Dnifi.bootstrap.listen.port=44940 -Dapp=NiFi org.apache.nifi.NiFi 2016-05-31 09:40:05,532 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 40883 2016-05-31 09:44:07,595 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: [] 2016-05-31 09:44:07,599 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED 2016-05-31 09:44:07,599 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED 2016-05-31 09:44:07,599 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED 2016-05-31 09:44:07,608 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is currently running, listening to Bootstrap on port 40883, PID=18516 2016-05-31 10:14:10,626 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: [] 2016-05-31 10:14:10,633 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED 2016-05-31 10:14:10,633 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED 2016-05-31 10:14:10,633 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED 2016-05-31 10:14:10,651 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is currently running, listening to Bootstrap on port 40883, PID=18516
Created 05-31-2016 11:51 AM
Actually, I just have installed nifi locally (vmware) and have the same issue and came across this 😉
Created 05-31-2016 12:37 PM
Is the centos 7 system a VM? If so, is the port 8080 open?
Also, look in the nifi-app.log, it will list the URLs of the NiFi UI.
Created 06-01-2016 06:09 AM
i disabled firewall and it worked
Created 05-31-2016 01:12 PM
Created 05-31-2016 03:04 PM
i disabled firewall and it worked! thanks
Created 05-31-2016 02:58 PM
Ahmad,
The line you are seeing in the nifi-bootstrap.log indicates the JVM started successfully. You need to check the nifi-app.log to make sure the application loaded successfully. In the nifi-app.log you will find the following lines if the application successfully loaded: 2016-05-31 10:46:44,347 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
2016-05-31 10:46:44,347 INFO [main] org.apache.nifi.web.server.JettyServer http://<someaddress or FQDN>:8088/nifi
Verify that the hostname or IP displayed on this line is reachable/resolvable on the system you are running your web browser from.
Thanks,
Matt
Created 06-23-2016 07:51 PM
I am facing the sam issue. I see this in the log. Not sure what it mean and how to fix? Still not able to launch nifi UI
2016-06-23 09:54:53,778 WARN [main] o.e.j.util.component.AbstractLifeCycle FAILED ServerConnector@c53209{HTTP/1.1}{0.0.0.0:8080}: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind