m-trieu commented on code in PR #31528: URL: https://github.com/apache/beam/pull/31528#discussion_r1630024387
########## runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/BoundedQueueExecutor.java: ########## @@ -224,9 +224,10 @@ private void executeMonitorHeld(Runnable work, long workBytes) { () -> { String threadName = Thread.currentThread().getName(); try { - if (work instanceof Work) { + if (work instanceof ExecutableWork) { String workToken = - String.format("%016x", ((Work) work).getWorkItem().getWorkToken()); + String.format( + "%016x", ((ExecutableWork) work).work().getWorkItem().getWorkToken()); Thread.currentThread().setName(threadName + ":" + workToken); 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. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org