2017-02-22 11:44:24,981 INFO [main] /nifi-api Initializing Spring root WebApplicationContext 2017-02-22 11:44:26,812 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be '/opt/nifi-1.1.1/./conf/nifi.properties' 2017-02-22 11:44:26,815 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be '/opt/nifi-1.1.1/./conf/nifi.properties' 2017-02-22 11:44:26,815 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 119 properties from /opt/nifi-1.1.1/./conf/nifi.properties 2017-02-22 11:45:10,847 INFO [main] o.a.nifi.util.FileBasedVariableRegistry Loaded 89 properties from system properties and environment variables 2017-02-22 11:45:10,848 INFO [main] o.a.nifi.util.FileBasedVariableRegistry Loaded a total of 89 properties. Including precedence overrides effective accessible registry key size is 89 2017-02-22 11:45:11,302 INFO [main] o.a.n.p.PersistentProvenanceRepository Recovered 0 records 2017-02-22 11:45:11,320 INFO [main] o.a.n.p.PersistentProvenanceRepository Created new Provenance Event Writers for events starting with ID 0 2017-02-22 11:45:11,333 INFO [main] o.a.n.c.repository.FileSystemRepository Maximum Threshold for Container default set to 81748992000 bytes; if volume exceeds this size, archived data will be deleted until it no longer exceeds this size 2017-02-22 11:45:11,335 INFO [main] o.a.n.c.repository.FileSystemRepository Initializing FileSystemRepository with 'Always Sync' set to false 2017-02-22 11:45:11,473 INFO [main] org.wali.MinimalLockingWriteAheadLog org.wali.MinimalLockingWriteAheadLog@3a17acd4 finished recovering records. Performing Checkpoint to ensure proper state of Partitions before updates 2017-02-22 11:45:11,473 INFO [main] org.wali.MinimalLockingWriteAheadLog Successfully recovered 0 records in 4 milliseconds 2017-02-22 11:45:11,493 INFO [main] org.wali.MinimalLockingWriteAheadLog org.wali.MinimalLockingWriteAheadLog@3a17acd4 checkpointed with 0 Records and 0 Swap Files in 19 milliseconds (Stop-the-world time = 3 milliseconds, Clear Edit Logs time = 12 millis), max Transaction ID -1 2017-02-22 11:45:11,569 INFO [main] o.a.n.c.s.server.ZooKeeperStateServer Starting Embedded ZooKeeper Peer 2017-02-22 11:45:11,665 INFO [main] o.apache.nifi.controller.FlowController Checking if there is already a Cluster Coordinator Elected... 2017-02-22 11:45:11,757 INFO [main] o.a.c.f.imps.CuratorFrameworkImpl Starting 2017-02-22 11:45:19,294 WARN [main] o.a.n.c.l.e.CuratorLeaderElectionManager Unable to determine the Elected Leader for role 'Cluster Coordinator' due to org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/leaders/Cluster Coordinator; assuming no leader has been elected 2017-02-22 11:45:19,297 INFO [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl backgroundOperationsLoop exiting 2017-02-22 11:45:20,245 INFO [main] o.apache.nifi.controller.FlowController It appears that no Cluster Coordinator has been Elected yet. Registering for Cluster Coordinator Role. 2017-02-22 11:45:20,247 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=true] Registered new Leader Selector for role Cluster Coordinator; this node is an active participant in the election. 2017-02-22 11:45:20,248 INFO [main] o.a.c.f.imps.CuratorFrameworkImpl Starting 2017-02-22 11:45:20,256 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=false] Registered new Leader Selector for role Cluster Coordinator; this node is an active participant in the election. 2017-02-22 11:45:20,256 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=false] started 2017-02-22 11:45:20,256 INFO [main] o.a.n.c.c.h.AbstractHeartbeatMonitor Heartbeat Monitor started 2017-02-22 11:45:20,344 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@194eae3e{/nifi-api,file:///opt/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-22 11:45:21,296 INFO [main] /nifi-content-viewer No Spring WebApplicationInitializer types detected on classpath 2017-02-22 11:45:21,332 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@1fcfcf37{/nifi-content-viewer,file:///opt/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-22 11:45:21,334 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.s.h.ContextHandler@7e7391e8{/nifi-docs,null,AVAILABLE} 2017-02-22 11:45:21,386 INFO [main] /nifi-docs No Spring WebApplicationInitializer types detected on classpath 2017-02-22 11:45:21,426 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@1fa44f66{/nifi-docs,file:///opt/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-22 11:45:21,478 INFO [main] / No Spring WebApplicationInitializer types detected on classpath 2017-02-22 11:45:21,513 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@5b71af0d{/,file:///opt/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-22 11:45:21,525 INFO [main] o.e.jetty.util.ssl.SslContextFactory x509=X509@51b41740(nifi-apptest,h=[],w=[]) for SslContextFactory@70cac22a(file:///opt/nifi-1.1.1/certs/keystore_AppTest.jks,file:///opt/nifi-1.1.1/certs/truststore_AppTest.jks) 2017-02-22 11:45:21,557 INFO [main] o.eclipse.jetty.server.AbstractConnector Started ServerConnector@13866865{SSL,[ssl, http/1.1]}{U2CAppTestU1.corp.net:8383} 2017-02-22 11:45:21,557 INFO [main] org.eclipse.jetty.server.Server Started @113230ms 2017-02-22 11:45:22,792 INFO [main] org.apache.nifi.web.server.JettyServer Loading Flow... 2017-02-22 11:45:22,798 INFO [main] org.apache.nifi.io.socket.SocketListener Now listening for connections from nodes on port 12000 2017-02-22 11:45:22,828 INFO [main] o.a.nifi.controller.StandardFlowService Connecting Node: U2CAppTestU1.corp.net:8383 2017-02-22 11:45:29,541 WARN [main] o.a.nifi.controller.StandardFlowService There is currently no Cluster Coordinator. This often happens upon restart of NiFi when running an embedded ZooKeeper. Will register this node to become the active Cluster Coordinator and will attempt to connect to cluster again 2017-02-22 11:45:29,542 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=false] Attempted to register Leader Election for role 'Cluster Coordinator' but this role is already registered 2017-02-22 11:45:37,610 WARN [main] o.a.nifi.controller.StandardFlowService There is currently no Cluster Coordinator. This often happens upon restart of NiFi when running an embedded ZooKeeper. Will register this node to become the active Cluster Coordinator and will attempt to connect to cluster again 2017-02-22 11:45:37,610 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=false] Attempted to register Leader Election for role 'Cluster Coordinator' but this role is already registered 2017-02-22 11:45:38,099 INFO [Curator-Framework-0] o.a.c.f.state.ConnectionStateManager State change: SUSPENDED 2017-02-22 11:45:38,103 INFO [Curator-ConnectionStateManager-0] o.a.n.c.l.e.CuratorLeaderElectionManager org.apache.nifi.controller.leader.election.CuratorLeaderElectionManager$ElectionListener@fab07ca Connection State changed to SUSPENDED 2017-02-22 11:45:38,109 ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl Background operation retry gave up org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkBackgroundRetry(CuratorFrameworkImpl.java:728) [curator-framework-2.11.0.jar:na] at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:857) [curator-framework-2.11.0.jar:na] at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:809) [curator-framework-2.11.0.jar:na] at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:64) [curator-framework-2.11.0.jar:na] at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267) [curator-framework-2.11.0.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]