Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/1963
  
    @pvillard31 I tried this PR, but still see '2017-07-06 12:05:54,092 INFO 
[main] org.apache.nifi.bootstrap.Command Waiting for Apache NiFi to finish 
shutting down...' logs.
    
    When I take a thread dump, few threads are sleeping as reported at 
NIFI-4111:
    ```
    "Site-to-Site Worker Thread-2@11975" prio=5 tid=0x73 nid=NA sleeping
      java.lang.Thread.State: TIMED_WAITING
          at java.lang.Thread.sleep(Thread.java:-1)
          at java.lang.Thread.sleep(Thread.java:340)
          at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
          at 
org.apache.nifi.remote.io.socket.SocketChannelInputStream.read(SocketChannelInputStream.java:120)
          at 
org.apache.nifi.stream.io.ByteCountingInputStream.read(ByteCountingInputStream.java:51)
          at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
          at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
          - locked <merged>(a org.apache.nifi.stream.io.BufferedInputStream)
          at 
org.apache.nifi.remote.io.InterruptableInputStream.read(InterruptableInputStream.java:39)
          at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337)
          at java.io.DataInputStream.readUTF(DataInputStream.java:589)
          at java.io.DataInputStream.readUTF(DataInputStream.java:564)
          at 
org.apache.nifi.remote.protocol.RequestType.readRequestType(RequestType.java:36)
          at 
org.apache.nifi.remote.protocol.socket.SocketFlowFileServerProtocol.getRequestType(SocketFlowFileServerProtocol.java:147)
          at 
org.apache.nifi.remote.SocketRemoteSiteListener$1$1.run(SocketRemoteSiteListener.java:249)
          at java.lang.Thread.run(Thread.java:745)
    ```
    
    This PR doesn't do anything to change SocketRemoteSiteListener behavior, is 
it correct?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to