GJL commented on a change in pull request #9271: [FLINK-13384][runtime] Fix
back pressure sampling for SourceStreamTask
URL: https://github.com/apache/flink/pull/9271#discussion_r308800773
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/tasks/AbstractInvokable.java
##########
@@ -123,6 +126,17 @@ public boolean shouldInterruptOnCancel() {
return shouldInterruptOnCancel;
}
+ /**
+ * If the invokable implementation executes user code in a thread other
than,
+ * {@link Task#getExecutingThread()}, this method returns the stack
trace of that executing
+ * thread.
+ *
+ * @see Task#getStackTraceOfExecutingThread()
+ */
+ public Optional<StackTraceElement[]> getStackTraceOfExecutingThread() {
Review comment:
Done.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services