You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Madhire, Naveen" <Na...@capitalone.com> on 2016/02/02 22:58:17 UTC

Error starting Nifi Locally

Hey All,

I am getting the below error while starting Nifi Locally, I did a maven build of the master branch.



2016-02-02 15:45:51,475 INFO [main] org.apache.nifi.NiFi Launching NiFi...

2016-02-02 15:45:51,495 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54624

2016-02-02 15:45:51,516 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap

2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.BootstrapListener Received SHUTDOWN request from Bootstrap

2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...

2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).

2016-02-02 15:48:16,650 INFO [main] org.apache.nifi.NiFi Launching NiFi...

2016-02-02 15:48:16,672 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54806

2016-02-02 15:48:16,692 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap

2016-02-02 15:51:46,957 ERROR [pool-1-thread-1] org.apache.nifi.BootstrapListener Failed to process request from Bootstrap due to java.io.IOException: Received invalid Secret Key for request type GET

java.io.IOException: Received invalid Secret Key for request type GET

at org.apache.nifi.BootstrapListener.readRequest(BootstrapListener.java:359) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]

at org.apache.nifi.BootstrapListener.access$100(BootstrapListener.java:49) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]

at org.apache.nifi.BootstrapListener$Listener$1.run(BootstrapListener.java:180) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_60]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]

at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]


I remember it worked few weeks ago without making any changes. Do I need to make any changes to nifi.properties or something?


Thanks,
Naveen
________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: Error starting Nifi Locally

Posted by "Madhire, Naveen" <Na...@capitalone.com>.
Yes, there was one more Nifi instance running on 8080 port. Its working now. Thanks Mark.

From: Mark Payne <ma...@hotmail.com>>
Reply-To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Date: Wednesday, February 3, 2016 at 7:57 AM
To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Subject: Re: Error starting Nifi Locally

Naveen,

Do you have an instance of NiFi already running? You should be able to determine this easily by running
"ps -ef | grep nifi" (assuming you're running on Linux). If so, you may need to shut down the current instance
by doing a "kill -9".

Thanks
-Mark


On Feb 2, 2016, at 4:58 PM, Madhire, Naveen <Na...@capitalone.com>> wrote:

Hey All,

I am getting the below error while starting Nifi Locally, I did a maven build of the master branch.


2016-02-02 15:45:51,475 INFO [main] org.apache.nifi.NiFi Launching NiFi...
2016-02-02 15:45:51,495 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54624
2016-02-02 15:45:51,516 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap
2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.BootstrapListener Received SHUTDOWN request from Bootstrap
2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).
2016-02-02 15:48:16,650 INFO [main] org.apache.nifi.NiFi Launching NiFi...
2016-02-02 15:48:16,672 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54806
2016-02-02 15:48:16,692 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap
2016-02-02 15:51:46,957 ERROR [pool-1-thread-1] org.apache.nifi.BootstrapListener Failed to process request from Bootstrap due to java.io.IOException: Received invalid Secret Key for request type GET
java.io.IOException: Received invalid Secret Key for request type GET
at org.apache.nifi.BootstrapListener.readRequest(BootstrapListener.java:359) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
at org.apache.nifi.BootstrapListener.access$100(BootstrapListener.java:49) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
at org.apache.nifi.BootstrapListener$Listener$1.run(BootstrapListener.java:180) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]


I remember it worked few weeks ago without making any changes. Do I need to make any changes to nifi.properties or something?


Thanks,
Naveen

________________________________
The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: Error starting Nifi Locally

Posted by Mark Payne <ma...@hotmail.com>.
Naveen,

Do you have an instance of NiFi already running? You should be able to determine this easily by running
"ps -ef | grep nifi" (assuming you're running on Linux). If so, you may need to shut down the current instance
by doing a "kill -9".

Thanks
-Mark


> On Feb 2, 2016, at 4:58 PM, Madhire, Naveen <Na...@capitalone.com> wrote:
> 
> Hey All,
> 
> I am getting the below error while starting Nifi Locally, I did a maven build of the master branch.
> 
> 
> 2016-02-02 15:45:51,475 INFO [main] org.apache.nifi.NiFi Launching NiFi...
> 2016-02-02 15:45:51,495 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54624
> 2016-02-02 15:45:51,516 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap
> 2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.BootstrapListener Received SHUTDOWN request from Bootstrap
> 2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
> 2016-02-02 15:47:52,094 INFO [pool-1-thread-2] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).
> 2016-02-02 15:48:16,650 INFO [main] org.apache.nifi.NiFi Launching NiFi...
> 2016-02-02 15:48:16,672 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 54806
> 2016-02-02 15:48:16,692 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap
> 2016-02-02 15:51:46,957 ERROR [pool-1-thread-1] org.apache.nifi.BootstrapListener Failed to process request from Bootstrap due to java.io.IOException: Received invalid Secret Key for request type GET
> java.io.IOException: Received invalid Secret Key for request type GET
> 	at org.apache.nifi.BootstrapListener.readRequest(BootstrapListener.java:359) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
> 	at org.apache.nifi.BootstrapListener.access$100(BootstrapListener.java:49) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
> 	at org.apache.nifi.BootstrapListener$Listener$1.run(BootstrapListener.java:180) ~[nifi-runtime-0.4.2-SNAPSHOT.jar:0.4.2-SNAPSHOT]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
> 
> 
> I remember it worked few weeks ago without making any changes. Do I need to make any changes to nifi.properties or something?
> 
> 
> Thanks,
> Naveen
> 
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.