Hi, Sorry for the abrupt message it was sent before I finished typing... :-)
Some users have issues due to lack of entropy within the VMs. This was covered on 1.2.0-SNAPSHOT but users of old versions may need to configure entropy options manually. Let me know if it helps. Kind regards On Wed, Apr 5, 2017 at 7:45 PM, Andre <[email protected]> wrote: > Hi, > > Can you please try the fix discussed here: > > https://issues.apache.org/jira/browse/NIFI-3313 > > Kind regards > > On Wed, Apr 5, 2017 at 7:36 PM, 尹文才 <[email protected]> wrote: > >> Hi guys, I have been using apache nifi since version 0.7 and as I know >> from my previous experiences that nifi should be up and running in less >> than 1 minute(standalone mode). Recently my company has switched from >> running in Vmware ESXI to openstack and thus I reinstalled nifi 1.1.2 in >> openstack virtual machines(2 nodes cluster). To my surprise, nifi started >> up very slow and it almost took 6-7 minutes which is much slower than >> before. >> >> I actually was not very familiar with openstack and it was setup and >> configured by someone else, but I know that there're 2 network interfaces >> for the virtual machine, one is an internal IP(10.0.0.*, for communication >> with machines inside openstack) and the other one is an external >> IP(192.168.227.*, for communication with office network, I use this IP to >> access the nifi web UI) >> >> I then decided to check the logs(nifi-app.log) and I found that it took >> the most time between the following 2 log lines: >> >> 2017-04-05 16:59:09,162 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader >> Loaded 121 properties from /usr/local/nifi/./conf/nifi.properties >> 2017-04-05 17:03:48,810 INFO [main] o.a.n.admin.AuditDataSourceFactoryBean >> Database not built for repository: >> >> but the logs didn't give me any useful clues why it would be so slow. >> So i dived into nifi's source code and tried to debug to find out >> the reason, it appeared to me that the application spent the most time at >> start method of class JettyServer when it tries to start the >> jetty server: >> >> // start the server >> server.start(); >> >> I checked the time it took to start the NiFi server in the log: >> >> 2017-04-05 17:08:55,149 INFO [main] org.apache.nifi.NiFi Controller >> initialization took 590449683493 nanoseconds. >> >> >> the time '*590449683493 nanoseconds*' equals approximately to 10 minutes. >> >> I'm also not very familiar with Jetty, not sure what's going on here. Did >> anyone come across this slow >> >> startup issue or does anyone have any idea of this problem? Thanks. >> >> btw, I've attached the logs. >> >> >> > >
