You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/04 21:59:35 UTC

[GitHub] [pulsar] rdhabalia edited a comment on issue #3749: On shutdown, kill the function instance thread after interrupt attempt

rdhabalia edited a comment on issue #3749: On shutdown, kill the function instance thread after interrupt attempt
URL: https://github.com/apache/pulsar/pull/3749#issuecomment-469438354
 
 
   Ok.. your change seems correct.. 
   ```
   pulsar-external-listener-173-1" #554 prio=5 os_prio=0 tid=0x00007f59d8049000 nid=0x6014 in Object.wait() [0x00007f592d7f7000]
      java.lang.Thread.State: WAITING (on object monitor)
           at java.lang.Object.wait(Native Method)
           at java.lang.Thread.join(Thread.java:1252)
           - locked <0x00000000deb85640> (a java.lang.Thread)
           at java.lang.Thread.join(Thread.java:1326)
           at org.apache.pulsar.functions.runtime.ThreadRuntime.stop(ThreadRuntime.java:123)
           at org.apache.pulsar.functions.runtime.RuntimeSpawner.close(RuntimeSpawner.java:151)
           at org.apache.pulsar.functions.worker.FunctionActioner.stopFunction(FunctionActioner.java:243)
           at org.apache.pulsar.functions.worker.FunctionRuntimeManager.conditionallyStopFunction(FunctionRuntimeManager.java:853)
           at org.apache.pulsar.functions.worker.FunctionRuntimeManager.updateAssignment(FunctionRuntimeManager.java:657)
           at org.apache.pulsar.functions.worker.FunctionRuntimeManager.processAssignment(FunctionRuntimeManager.java:599)
           - locked <0x00000000dc9b5e50> (a org.apache.pulsar.functions.worker.FunctionRuntimeManager)
           at org.apache.pulsar.functions.worker.FunctionAssignmentTailer.processAssignment(FunctionAssignmentTailer.java:82)
           at org.apache.pulsar.functions.worker.FunctionAssignmentTailer.accept(FunctionAssignmentTailer.java:88)
           at org.apache.pulsar.functions.worker.FunctionAssignmentTailer.accept(FunctionAssignmentTailer.java:32)
           at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
           at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
           at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
           at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
           at org.apache.pulsar.client.impl.ConsumerImpl.lambda$interceptAndComplete$9(ConsumerImpl.java:883)
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services