You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| plan-check-clusters-uris | String | The URIs of the plan checker clusters. ||
28
-
| router-java-url | String | The router URI dedicated to java clusters. |
29
-
| router-native-url | String | The router URI dedicated to native clusters. |
30
-
| client-request-timeout | String | The maximum time the client will wait for a response before timing out. |
31
-
||| Default : `2 minutes`|
32
-
| enable-java-cluster-fallback | boolean | Enables fallback to the Java clusters when the plan checker clusters are unavailable or fail to process a request. |
| router-scheduler.name | String | The name of the custom scheduler factory. <br> Example: `router-scheduler.name=plan-checker`|
26
+
| plan-check-clusters-uris | String | The URIs of the plan checker clusters. |
27
+
| router-java-url | String | The router URI dedicated to java clusters. |
28
+
| router-native-url | String | The router URI dedicated to native clusters. |
29
+
| client-request-timeout | String | The maximum time the client will wait for a response before timing out.<br> Default : `2 minutes`|
30
+
| enable-java-cluster-fallback | boolean | Enables fallback to the Java clusters when the plan checker clusters are unavailable or fail to process a request.<br> Default : `false`|
31
+
| enable-java-cluster-query-retry | boolean | Enables cross-cluster query retry.<br>When set to `true`, if a query fails on the native cluster, the system will automatically retry executing the query on the Java cluster.<br>Default: `false`|
Copy file name to clipboardExpand all lines: presto-plan-checker-router-plugin/src/main/java/com/facebook/presto/router/scheduler/PlanCheckerRouterPluginConfig.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ public class PlanCheckerRouterPluginConfig
Copy file name to clipboardExpand all lines: presto-plan-checker-router-plugin/src/main/java/com/facebook/presto/router/scheduler/PlanCheckerRouterPluginPrestoClient.java
Copy file name to clipboardExpand all lines: presto-plan-checker-router-plugin/src/test/java/com/facebook/presto/router/scheduler/TestPlanCheckerProviderRouterPluginConfig.java
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,8 @@ public void testDefault()
36
36
.setNativeRouterURI(null)
37
37
.setPlanCheckClustersURIs(null)
38
38
.setClientRequestTimeout(newDuration(2, MINUTES))
39
-
.setJavaClusterFallbackEnabled(false));
39
+
.setJavaClusterFallbackEnabled(false)
40
+
.setJavaClusterQueryRetryEnabled(false));
40
41
}
41
42
42
43
@Test
@@ -49,13 +50,15 @@ public void testExplicitPropertyMappings()
0 commit comments