[ https://issues.apache.org/jira/browse/NIFI-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027797#comment-15027797 ]
Joseph Witt commented on NIFI-1059: ----------------------------------- looks like it intends to actually supply the PID and looks like the exception is added again. > NiFi cluster node commands timeout. 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 > Assignee: Mark Payne > Priority: Minor > Fix For: 0.4.0 > > Attachments: > 0001-NIFI-1059-If-we-get-an-IOException-when-telling-NiFi.patch > > > 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)