Hi Chico, Although it looks longer to get started, but the log shows NiFi has started:
> 2017-02-13 11:32:48,081 INFO [main] org.apache.nifi.web.server.JettyServer > NiFi has started. The UI is available at the following URLs: > 2017-02-13 11:32:48,082 INFO [main] org.apache.nifi.web.server.JettyServer > http://172.23.51.151:8080/nifi > 2017-02-13 11:32:48,083 INFO [main] org.apache.nifi.BootstrapListener > Successfully initiated communication with Bootstrap > 2017-02-13 11:32:48,083 INFO [main] org.apache.nifi.NiFi Controller > initialization took 157612801054 nanoseconds. Are you having trouble of logging into NiFi Web UI? Or are you worrying about the messages MinimalLockingWriteAheadLog logged? To describe what MinimalLockingWriteAheadLog does, this wiki might be informative: https://cwiki.apache.org/confluence/display/NIFI/NiFi's+Write-Ahead+Log+Implementation Sorry in advance if I'm missing something important in your log. Please elaborate about the issue in that case. Thanks, Koji On Mon, Feb 13, 2017 at 1:43 PM, Chico Qi <[email protected]> wrote: > Hi all, > > I am struggling in an infinite loop. I want to install a new NiFi on the > same machine because the old NiFi was corrupted. But even though I install > from an original file from NiFi website. There are always same logs as > bellow. I guess some file was locked and the new NiFi are trying to recover > from the error status. > > > 2017-02-13 11:32:46,255 INFO [main] o.a.n.c.repository.FileSystemRepository > Maximum Threshold for Container default set to 4346167787 bytes; if volume > exceeds this size, archived data will be deleted until it no longer exceeds > this size > 2017-02-13 11:32:46,256 INFO [main] o.a.n.c.repository.FileSystemRepository > Initializing FileSystemRepository with 'Always Sync' set to false > 2017-02-13 11:32:46,366 INFO [main] org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@4e8b36af finished recovering records. > Performing Checkpoint to ensure proper state of Partitions before updates > 2017-02-13 11:32:46,366 INFO [main] org.wali.MinimalLockingWriteAheadLog > Successfully recovered 0 records in 6 milliseconds > 2017-02-13 11:32:46,372 INFO [main] org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@4e8b36af checkpointed with 0 Records > and 0 Swap Files in 5 milliseconds (Stop-the-world time = 3 milliseconds, > Clear Edit Logs time = 1 millis), max Transaction ID -1 > 2017-02-13 11:32:46,398 INFO [main] o.apache.nifi.controller.FlowController > Not enabling RAW Socket Site-to-Site functionality because > nifi.remote.input.socket.port is not set > 2017-02-13 11:32:46,418 INFO [main] > o.a.n.w.c.ApplicationStartupContextListener Starting Flow Controller... > 2017-02-13 11:32:46,458 INFO [main] o.apache.nifi.controller.FlowController > Successfully synchronized controller with proposed flow > 2017-02-13 11:32:46,835 INFO [main] org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@6c0bf8f4 finished recovering records. > Performing Checkpoint to ensure proper state of Partitions before updates > 2017-02-13 11:32:46,835 INFO [main] org.wali.MinimalLockingWriteAheadLog > Successfully recovered 0 records in 184 milliseconds > 2017-02-13 11:32:46,879 INFO [main] org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@6c0bf8f4 checkpointed with 0 Records > and 0 Swap Files in 43 milliseconds (Stop-the-world time = 26 milliseconds, > Clear Edit Logs time = 16 millis), max Transaction ID -1 > 2017-02-13 11:32:46,879 INFO [main] o.a.n.c.r.WriteAheadFlowFileRepository > Successfully restored 0 FlowFiles > 2017-02-13 11:32:46,896 INFO [main] o.apache.nifi.controller.FlowController > Starting 0 processors/ports/funnels > 2017-02-13 11:32:46,896 INFO [main] o.apache.nifi.controller.FlowController > Started 0 Remote Group Ports transmitting > 2017-02-13 11:32:46,896 INFO [main] > o.a.n.w.c.ApplicationStartupContextListener Flow Controller started > successfully. > 2017-02-13 11:32:46,903 INFO [main] o.e.jetty.server.handler.ContextHandler > Started > o.e.j.w.WebAppContext@48614fb3{/nifi-api,file:///dev/shm/nifi-1.1.1/work/jetty/nifi-web-api-1.1.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.1.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-api-1.1.1.war} > 2017-02-13 11:32:47,457 INFO [main] /nifi-content-viewer No Spring > WebApplicationInitializer types detected on classpath > 2017-02-13 11:32:47,463 INFO [main] o.e.jetty.server.handler.ContextHandler > Started > o.e.j.w.WebAppContext@439b0198{/nifi-content-viewer,file:///dev/shm/nifi-1.1.1/work/jetty/nifi-web-content-viewer-1.1.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.1.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-content-viewer-1.1.1.war} > 2017-02-13 11:32:47,464 INFO [main] o.e.jetty.server.handler.ContextHandler > Started o.e.j.s.h.ContextHandler@29088d3d{/nifi-docs,null,AVAILABLE} > 2017-02-13 11:32:47,499 INFO [main] /nifi-docs No Spring > WebApplicationInitializer types detected on classpath > 2017-02-13 11:32:47,524 INFO [main] o.e.jetty.server.handler.ContextHandler > Started > o.e.j.w.WebAppContext@3284de45{/nifi-docs,file:///dev/shm/nifi-1.1.1/work/jetty/nifi-web-docs-1.1.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.1.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-docs-1.1.1.war} > 2017-02-13 11:32:47,585 INFO [main] / No Spring WebApplicationInitializer > types detected on classpath > 2017-02-13 11:32:47,590 INFO [main] o.e.jetty.server.handler.ContextHandler > Started > o.e.j.w.WebAppContext@7962a364{/,file:///dev/shm/nifi-1.1.1/work/jetty/nifi-web-error-1.1.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.1.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.1.1.war} > 2017-02-13 11:32:47,605 INFO [main] o.eclipse.jetty.server.AbstractConnector > Started ServerConnector@30ce78e3{HTTP/1.1,[http/1.1]}{172.23.51.151:8080} > 2017-02-13 11:32:47,605 INFO [main] org.eclipse.jetty.server.Server Started > @201871ms > 2017-02-13 11:32:48,081 INFO [main] org.apache.nifi.web.server.JettyServer > NiFi has started. The UI is available at the following URLs: > 2017-02-13 11:32:48,082 INFO [main] org.apache.nifi.web.server.JettyServer > http://172.23.51.151:8080/nifi > 2017-02-13 11:32:48,083 INFO [main] org.apache.nifi.BootstrapListener > Successfully initiated communication with Bootstrap > 2017-02-13 11:32:48,083 INFO [main] org.apache.nifi.NiFi Controller > initialization took 157612801054 nanoseconds. > 2017-02-13 11:34:46,376 INFO [Write-Ahead Local State Provider Maintenance] > org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@4e8b36af checkpointed with 0 Records > and 0 Swap Files in 3 milliseconds (Stop-the-world time = 0 milliseconds, > Clear Edit Logs time = 0 millis), max Transaction ID -1 > 2017-02-13 11:34:46,880 INFO [pool-8-thread-1] > o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile > Repository > 2017-02-13 11:34:46,915 INFO [pool-8-thread-1] > org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@6c0bf8f4 checkpointed with 0 Records > and 0 Swap Files in 34 milliseconds (Stop-the-world time = 21 milliseconds, > Clear Edit Logs time = 10 millis), max Transaction ID -1 > 2017-02-13 11:34:46,915 INFO [pool-8-thread-1] > o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile > Repository with 0 records in 34 milliseconds > 2017-02-13 11:36:46,378 INFO [Write-Ahead Local State Provider Maintenance] > org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@4e8b36af checkpointed with 0 Records > and 0 Swap Files in 1 milliseconds (Stop-the-world time = 1 milliseconds, > Clear Edit Logs time = 0 millis), max Transaction ID -1 > 2017-02-13 11:36:46,915 INFO [pool-8-thread-1] > o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile > Repository > 2017-02-13 11:36:46,947 INFO [pool-8-thread-1] > org.wali.MinimalLockingWriteAheadLog > org.wali.MinimalLockingWriteAheadLog@6c0bf8f4 checkpointed with 0 Records > and 0 Swap Files in 31 milliseconds (Stop-the-world time = 21 milliseconds, > Clear Edit Logs time = 9 millis), max Transaction ID -1 > 2017-02-13 11:36:46,947 INFO [pool-8-thread-1] > o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile > Repository with 0 records in 31 milliseconds > > Thank you. > > Cheers, > Chico
