Member since
11-22-2024
5
Posts
2
Kudos Received
0
Solutions
12-10-2024
06:24 AM
Yes, I kill the Java process before trying again. After trying 5-10 times, NiFi normally starts. Windows Server 2022 Datacenter, 21H2 The Java version is Corretto-21.0.5.11.1, and I also tried Zulu 21.38+21-CA, both have the problem. Not sure, but I think it’s the bootstrap process that ends with ctrl-c, while the application process remains hung and must be killed with the task manager.
... View more
12-09-2024
11:56 PM
1 Kudo
Hello, The process hangs. The lines in mohdriyaz' screenshot are the last ones that appear. There are no errors. When quitting with ctrl-c in the CMD window, one Java process is hanging and needs to be killed with the task manager. In cases when the start succeeds, the app log continues within a second and the memory usage of the java process increases. I think the bootstrap log seems normal when the startup fails, for example: 2024-12-05 14:58:44,813 INFO [main] o.a.n.b.command.RunBootstrapCommand Java Version: 21.0.5+11-LTS 2024-12-05 14:58:44,813 INFO [main] o.a.n.b.command.RunBootstrapCommand Available Processors: 4 2024-12-05 14:58:44,891 INFO [main] o.a.n.b.command.RunBootstrapCommand E:\jdk21.0.5_11\bin\java.exe --class-path E:\nifi-2.0.0\lib\jcl-over-slf4j-2.0.16.jar;E:\nifi-2.0.0\lib\jul-to-slf4j-2.0.16.jar;E:\nifi-2.0.0\lib\log4j-over-slf4j-2.0.16.jar;E:\nifi-2.0.0\lib\logback-classic-1.5.12.jar;E:\nifi-2.0.0\lib\logback-core-1.5.12.jar;E:\nifi-2.0.0\lib\nifi-api-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-framework-api-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-nar-utils-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-per-process-group-logging-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-properties-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-property-utils-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-python-framework-api-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-runtime-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-server-api-2.0.0.jar;E:\nifi-2.0.0\lib\nifi-stateless-api-2.0.0.jar;E:\nifi-2.0.0\lib\slf4j-api-2.0.16.jar;E:\nifi-2.0.0\conf -Dorg.apache.nifi.bootstrap.config.log.dir=E:\nifi-2.0.0\logs -Dnifi.properties.file.path=E:\nifi-2.0.0\conf\nifi.properties -Dorg.apache.nifi.management.server.address=127.0.0.1:52020 -Djavax.security.auth.useSubjectCredsOnly=true -Xmx10g -Djava.awt.headless=true -Xms5g -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dcurator-log-only-first-connection-issue-as-error-level=true org.apache.nifi.NiFi 2024-12-05 14:58:44,922 INFO [main] org.apache.nifi.bootstrap.Command Application Process [10636] started 2024-12-05 14:58:44,922 INFO [main] org.apache.nifi.bootstrap.Command Bootstrap Process Running 2024-12-05 14:59:44,939 INFO [StartBootstrapCommand] o.a.n.b.c.ApplicationProcessStatusBootstrapCommand Application Process [10636] running 2024-12-05 14:59:44,939 INFO [StartBootstrapCommand] o.a.n.b.command.StartBootstrapCommand Application monitoring started 2024-12-05 14:59:49,954 INFO [StartBootstrapCommand] o.a.n.b.c.ApplicationProcessStatusBootstrapCommand Application Process [10636] running 2024-12-05 14:59:54,955 INFO [StartBootstrapCommand] o.a.n.b.c.ApplicationProcessStatusBootstrapCommand Application Process [10636] running And keeps repeating the same line until you kill it. Thanks,
... View more