You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matthew Clarke (JIRA)" <ji...@apache.org> on 2015/10/23 21:49:28 UTC
[jira] [Created] (NIFI-1059) NiFi cluster node commands time. Must
manually kill process.
Matthew Clarke created NIFI-1059:
------------------------------------
Summary: NiFi cluster node commands time. Must manually kill process.
Key: NIFI-1059
URL: https://issues.apache.org/jira/browse/NIFI-1059
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 0.3.0
Reporter: Matthew Clarke
Priority: Minor
I had a NiFi cluster Node deliberately configured to use a unsigned/untrusted keystore. When I tried tried to join it to my cluster, i got the expected javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated errors. The problem I did not expect is that I could no longer issue commands to the cluster Node nifi.sh (stop, restart, or dump).
STOP Command:
ERROR [main] org.apache.nifi.bootstrap.Command Failed to send shutdown command to port 43821 due to java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_85]
at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[na:1.7.0_85]
at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_85]
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[na:1.7.0_85]
at org.apache.nifi.bootstrap.RunNiFi.stop(RunNiFi.java:647) [nifi-bootstrap-1.0.0.0-7.jar:1.0.0.0-7]
at org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:206) [nifi-bootstrap-1.0.0.0-7.jar:1.0.0.0-7]
DUMP Command:
Exception in thread "main" java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.readLine(BufferedReader.java:317)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at org.apache.nifi.bootstrap.RunNiFi.dump(RunNiFi.java:583)
at org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:216)
I was forced to manually kill the NiFi process to stop it.
After installing the good keystore, the Node started and joined the cluster as expected. I was able to successfully issue stop, restart, and dump commands at this time as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)