[
https://issues.apache.org/jira/browse/NIFI-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471380#comment-16471380
]
Andy LoPresto commented on NIFI-5182:
-------------------------------------
There is also the option to pipe the log output to a collapsed panel on this
page so that users (admins) starting the application will see this output
without examining the log. Obviously there are security concerns with this, as
the log output (while sanitized for critically sensitive information) contains
valuable and sometimes sensitive information. The page could also run through
some simpler output, like enumerating and counting the NARs / processors
loaded, or listing 4-5 major steps in starting up, for example.
> Provide a static splash page while NiFi is starting up
> ------------------------------------------------------
>
> Key: NIFI-5182
> URL: https://issues.apache.org/jira/browse/NIFI-5182
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI
> Affects Versions: 1.6.0
> Reporter: Andy LoPresto
> Priority: Major
> Labels: perceived_timing, splashscreen, ux
>
> Many users do not realize that NiFi takes a few seconds to start up
> (depending on how many NARs are loaded). As of 1.6.0, on commodity hardware,
> NiFi takes about 16-20 seconds from {{$ ./bin/nifi.sh start}} to the UI being
> available to the browser (see output below).
> I think it makes sense to immediately serve a static splash page on
> {{nifi.sh}} run that doesn't depend on any NARs being loaded, etc. and which
> shows a message that NiFi will be available in about N seconds. This can use
> a simple countdown from ~20, which seems to be consistent across builds, and
> use a JS timer to refresh when the API is available (AJAX call to a status
> endpoint). I've observed NiFi tutorials and new users get up and running and
> this is their first introduction to the app. Often they just get an error
> page and have to refresh and wait a few times in order to get to the canvas.
> 1.6.0, default build, unsecured, on 2015 MacBook Pro:
> {code}
> 2018-05-10 16:40:44,734 INFO [main] org.eclipse.jetty.server.Server Started
> @33762ms
> 2018-05-10 16:40:44,747 INFO [main] org.apache.nifi.web.server.JettyServer
> NiFi has started. The UI is available at the following URLs:
> 2018-05-10 16:40:44,747 INFO [main] org.apache.nifi.web.server.JettyServer
> http://192.168.1.3:8080/nifi
> 2018-05-10 16:40:44,747 INFO [main] org.apache.nifi.web.server.JettyServer
> http://127.0.0.1:8080/nifi
> 2018-05-10 16:40:44,750 INFO [main] org.apache.nifi.BootstrapListener
> Successfully initiated communication with Bootstrap
> 2018-05-10 16:40:44,750 INFO [main] org.apache.nifi.NiFi Controller
> initialization took 16269179995 nanoseconds (16 seconds).
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)