You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/02/14 15:09:35 UTC
[GitHub] [flink] dmvk opened a new pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
dmvk opened a new pull request #18761:
URL: https://github.com/apache/flink/pull/18761
This fixes a regression introduced in https://github.com/apache/flink/commit/5180e83ec01236ecce47a56951daf2a34eb4a1f6, that makes several OC related tests fail with the AdaptiveScheduler (unfortunately with the CRON triggered CI).
The intuition behind the change is that the OC failure handling is tied with the global failure handler of the CreatingExecutionGraph state, but we need it to use a global failure handler of the State that is currently in effect (eg. Executing).
I've added new unit test to guard against future regression.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805956575
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
Instead of exposing the state, why not expose the global failure handler?
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
Besides that, I don't know whether the added "Effective" gives us anything.
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
Review comment:
This should be a separate test case. It now contains more lines for the error handling although that's not it's primary purpose.
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
+ assertEquals(
+ "OperatorCoordinator should use failure handler of the Executing state.",
+ t,
+ handledFailureRef.get());
Review comment:
This overall seems unsafe. There's no requirement that the error handler for different states are actually different instances.
What you rather want to test is that a failure in the coordinator calls into the scheduler.
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -135,10 +139,16 @@ public void testNotPossibleSlotAssignmentTransitionsToWaitingForResources() thro
public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exception {
try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
- executionGraphWithvertexParallelismFuture = new CompletableFuture<>();
- final CreatingExecutionGraph creatingExecutionGraph =
- new CreatingExecutionGraph(
- context, executionGraphWithvertexParallelismFuture, log);
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<Consumer<Throwable>> errorHandlerRef = new AtomicReference<>();
+ new CreatingExecutionGraph(context, executionGraphWithVertexParallelismFuture, log) {
+ @Override
+ OperatorCoordinatorHandler createOperatorCoordinatorHandler(
Review comment:
I'd rather add a OperatorCoordinatorHandler factory argument to the CreatingExecutionGraph than resorting to this.
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
Review comment:
This seems overly complicated; isn't it enough to know that it was indeed called?
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
Review comment:
Couldn't we just check that the errorHandler passed to the factory == context?
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
This is what I meant in https://github.com/apache/flink/pull/18761#discussion_r806234796.
```suggestion
executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
assertThat(operatorCoordinatorGlobalFailureHandlerRef).isSameAs(context);
```
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
This is what I meant in https://github.com/apache/flink/pull/18761#discussion_r806234796.
```suggestion
executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
assertThat(operatorCoordinatorGlobalFailureHandlerRef.get()).isSameAs(context);
```
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805970472
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
Review comment:
This seems overly complicated; isn't it enough to know that it was indeed called?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
}, {
"hash" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31541",
"triggerID" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430)
* 7d51370597ab089fbb1eda0c208de1a1bc42b778 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31541)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "d3e0d2a3d348d6cc736dbd9390e275ec51cfbbda",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "d3e0d2a3d348d6cc736dbd9390e275ec51cfbbda",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* d3e0d2a3d348d6cc736dbd9390e275ec51cfbbda UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 73414ab2faae37cddfa5fd151cc522991d217ba5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441)
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039297278
Thanks for the review @zentol! I've tried to go bit more fancy with the PR, let me know what you think (it's basically a complete rework 😂 )
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805959238
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
Besides that, I don't know whether the added "Effective" gives us anything.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r806700558
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
Review comment:
I'd rather avoid that, because we can't do an assertion in factory as it's executed in the future callback that is wrapped in `FutureUtils.assertNoException`. I don't really want to go into changing any more logic because of that.
I can still make an assert on the reference, but that doesn't seem to make too much of a difference for readability.
WDYT?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805966277
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
+ assertEquals(
+ "OperatorCoordinator should use failure handler of the Executing state.",
+ t,
+ handledFailureRef.get());
Review comment:
This overall seems unsafe. There's no requirement that the error handler for different states are actually different instances.
What you rather want to test is that a failure in the coordinator calls into the scheduler.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "ee41a8128e020b83ed261455d0ecd54dc2aa7114",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "ee41a8128e020b83ed261455d0ecd54dc2aa7114",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* ee41a8128e020b83ed261455d0ecd54dc2aa7114 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r806844044
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
👍 will change that
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
}, {
"hash" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31541",
"triggerID" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7d51370597ab089fbb1eda0c208de1a1bc42b778 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31541)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805984592
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -135,10 +139,16 @@ public void testNotPossibleSlotAssignmentTransitionsToWaitingForResources() thro
public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exception {
try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
- executionGraphWithvertexParallelismFuture = new CompletableFuture<>();
- final CreatingExecutionGraph creatingExecutionGraph =
- new CreatingExecutionGraph(
- context, executionGraphWithvertexParallelismFuture, log);
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<Consumer<Throwable>> errorHandlerRef = new AtomicReference<>();
+ new CreatingExecutionGraph(context, executionGraphWithVertexParallelismFuture, log) {
+ @Override
+ OperatorCoordinatorHandler createOperatorCoordinatorHandler(
Review comment:
👍
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 73414ab2faae37cddfa5fd151cc522991d217ba5 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1040128531
CI has failed with https://issues.apache.org/jira/browse/FLINK-20928
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805959938
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
I did that in the first iteration, but it seemed confusing that you actually have both `handleGlobalFailure` and `context.handleGlobalFailure` methods available in the class and it's not clear what the difference is. This felt bit more explicit for the reader.
WDYT?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805968987
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -135,10 +139,16 @@ public void testNotPossibleSlotAssignmentTransitionsToWaitingForResources() thro
public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exception {
try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
- executionGraphWithvertexParallelismFuture = new CompletableFuture<>();
- final CreatingExecutionGraph creatingExecutionGraph =
- new CreatingExecutionGraph(
- context, executionGraphWithvertexParallelismFuture, log);
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<Consumer<Throwable>> errorHandlerRef = new AtomicReference<>();
+ new CreatingExecutionGraph(context, executionGraphWithVertexParallelismFuture, log) {
+ @Override
+ OperatorCoordinatorHandler createOperatorCoordinatorHandler(
Review comment:
I'd rather add a OperatorCoordinatorHandler factory argument to the CreatingExecutionGraph than resorting to this.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r806819042
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
This is what I meant in https://github.com/apache/flink/pull/18761#discussion_r806234796.
```suggestion
executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
assertThat(operatorCoordinatorGlobalFailureHandlerRef.get()).isSameAs(context);
```
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "8b0e35ed783b3dd7657c3d3146550fd8544a0338",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "8b0e35ed783b3dd7657c3d3146550fd8544a0338",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 8b0e35ed783b3dd7657c3d3146550fd8544a0338 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805959938
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
I did that in the first iteration, but it seemed confusing that you actually have both `handleGlobalFailure` and `context.handleGlobalFailure` methods available in the class and it's not clear what the difference is. This felt bit more explicit for the reader.
WDYT?
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
Review comment:
👍
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -135,10 +139,16 @@ public void testNotPossibleSlotAssignmentTransitionsToWaitingForResources() thro
public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exception {
try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
- executionGraphWithvertexParallelismFuture = new CompletableFuture<>();
- final CreatingExecutionGraph creatingExecutionGraph =
- new CreatingExecutionGraph(
- context, executionGraphWithvertexParallelismFuture, log);
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<Consumer<Throwable>> errorHandlerRef = new AtomicReference<>();
+ new CreatingExecutionGraph(context, executionGraphWithVertexParallelismFuture, log) {
+ @Override
+ OperatorCoordinatorHandler createOperatorCoordinatorHandler(
Review comment:
👍
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
Review comment:
I'd rather avoid that, because we can't do an assertion in factory as it's executed in the future callback that is wrapped in `FutureUtils.assertNoException`. I don't really want to go into changing any more logic because of that.
I can still make an assert on the reference, but that doesn't seem to make too much of a difference for readability.
WDYT?
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
👍 will change that
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1040303242
@zentol I've addressed your comment. The last change is done in a separate commit as it also contains migration to junit5 so we don't introduce too much noise into the actual change.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 73414ab2faae37cddfa5fd151cc522991d217ba5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441)
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202184
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit ee41a8128e020b83ed261455d0ecd54dc2aa7114 (Mon Feb 14 15:12:37 UTC 2022)
**Warnings:**
* No documentation files were touched! Remember to keep the Flink docs up to date!
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039297278
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol merged pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol merged pull request #18761:
URL: https://github.com/apache/flink/pull/18761
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
}, {
"hash" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "7d51370597ab089fbb1eda0c208de1a1bc42b778",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430)
* 7d51370597ab089fbb1eda0c208de1a1bc42b778 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dmvk commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
dmvk commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805966165
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
Review comment:
👍
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r806819042
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
+ t -> {
+ contextGlobalFailureHandlerCalled.set(true);
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
+ CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
+ executionGraph, new TestingVertexParallelism()));
+
+ operatorCoordinatorGlobalFailureHandlerRef
+ .get()
+ .handleGlobalFailure(new RuntimeException("Test."));
+ assertTrue(contextGlobalFailureHandlerCalled.get());
Review comment:
This is what I meant in https://github.com/apache/flink/pull/18761#discussion_r806234796.
```suggestion
executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
assertThat(operatorCoordinatorGlobalFailureHandlerRef).isSameAs(context);
```
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 73414ab2faae37cddfa5fd151cc522991d217ba5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r806234796
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -155,6 +179,60 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
}
}
+ @Test
+ public void testOperatorCoordinatorUsesFailureHandlerOfTheCurrentState() throws Exception {
+ try (MockCreatingExecutionGraphContext context = new MockCreatingExecutionGraphContext()) {
+ final CompletableFuture<CreatingExecutionGraph.ExecutionGraphWithVertexParallelism>
+ executionGraphWithVertexParallelismFuture = new CompletableFuture<>();
+ final AtomicReference<GlobalFailureHandler> operatorCoordinatorGlobalFailureHandlerRef =
+ new AtomicReference<>();
+ new CreatingExecutionGraph(
+ context,
+ executionGraphWithVertexParallelismFuture,
+ log,
+ (executionGraph, errorHandler) -> {
+ operatorCoordinatorGlobalFailureHandlerRef.set(errorHandler);
+ return new TestingOperatorCoordinatorHandler();
+ });
+
+ final StateTrackingMockExecutionGraph executionGraph =
+ new StateTrackingMockExecutionGraph();
+
+ context.setTryToAssignSlotsFunction(CreatingExecutionGraphTest::successfulAssignment);
+ context.setExpectedExecuting(
+ ignored -> {
+ // This just lets us transition to executing.
+ });
+
+ final AtomicBoolean contextGlobalFailureHandlerCalled = new AtomicBoolean(false);
+ context.setGlobalFailureHandler(
Review comment:
Couldn't we just check that the errorHandler passed to the factory == context?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805965319
##########
File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraphTest.java
##########
@@ -149,9 +159,27 @@ public void testSuccessfulSlotAssignmentTransitionsToExecuting() throws Exceptio
actualExecutionGraph ->
assertThat(actualExecutionGraph, sameInstance(executionGraph)));
- executionGraphWithvertexParallelismFuture.complete(
+ final AtomicReference<Throwable> handledFailureRef = new AtomicReference<>();
+ context.setCreateExecutingStateFunction(
+ () ->
+ new AdaptiveSchedulerTest.DummyState() {
+
+ @Override
+ public void handleGlobalFailure(Throwable cause) {
+ handledFailureRef.set(cause);
+ }
+ });
+
+ executionGraphWithVertexParallelismFuture.complete(
CreatingExecutionGraph.ExecutionGraphWithVertexParallelism.create(
executionGraph, new TestingVertexParallelism()));
+
+ final Throwable t = new RuntimeException("Test.");
+ errorHandlerRef.get().accept(t);
Review comment:
This should be a separate test case. It now contains more lines for the error handling although that's not it's primary purpose.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zentol commented on a change in pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #18761:
URL: https://github.com/apache/flink/pull/18761#discussion_r805956575
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/CreatingExecutionGraph.java
##########
@@ -205,6 +218,14 @@ AssignmentResult tryToAssignSlots(
* @return the main thread executor
*/
ComponentMainThreadExecutor getMainThreadExecutor();
+
+ /**
+ * Get a {@link State} the {@link AdaptiveScheduler} is currently in. This is primarily
+ * intended for callbacks that need to outlive a state transition.
+ *
+ * @return The current state of the {@link AdaptiveScheduler}.
+ */
+ State getEffectiveState();
Review comment:
Instead of exposing the state, why not expose the global failure handler?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18761: [FLINK-26107][runtime] AdaptiveScheduler: OperatorCoordinator should …
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18761:
URL: https://github.com/apache/flink/pull/18761#issuecomment-1039202980
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441",
"triggerID" : "73414ab2faae37cddfa5fd151cc522991d217ba5",
"triggerType" : "PUSH"
}, {
"hash" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430",
"triggerID" : "6b2a762f6922fdaf46a8f12f7aa071dac95074fc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 73414ab2faae37cddfa5fd151cc522991d217ba5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31441)
* 6b2a762f6922fdaf46a8f12f7aa071dac95074fc Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31430)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org