morhidi commented on PR #409:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/409#issuecomment-1289601914
Another thing that I found is the structure of the stacktrace probably too
verbose:
```{
"type":
"org.apache.flink.kubernetes.operator.exception.ReconciliationException",
"message": "java.lang.IllegalArgumentException: Only \"local\" is
supported as schema for application mode. This assumes that the jar is located
in the image, not the Flink client. An example of such pathis:
local:///opt/flink/examples/streaming/WindowJoin.jar",
"stackTraceElements": [
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "reconcile",
"fileName": "FlinkDeploymentController.java",
"lineNumber": 133,
"className":
"org.apache.flink.kubernetes.operator.controller.FlinkDeploymentController",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "reconcile",
"fileName": "FlinkDeploymentController.java",
"lineNumber": 54,
"className":
"org.apache.flink.kubernetes.operator.controller.FlinkDeploymentController",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "execute",
"fileName": "Controller.java",
"lineNumber": 130,
"className": "io.javaoperatorsdk.operator.processing.Controller$1",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "execute",
"fileName": "Controller.java",
"lineNumber": 88,
"className": "io.javaoperatorsdk.operator.processing.Controller$1",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "timeControllerExecution",
"fileName": "Metrics.java",
"lineNumber": 197,
"className": "io.javaoperatorsdk.operator.api.monitoring.Metrics",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "reconcile",
"fileName": "Controller.java",
"lineNumber": 87,
"className": "io.javaoperatorsdk.operator.processing.Controller",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "reconcileExecution",
"fileName": "ReconciliationDispatcher.java",
"lineNumber": 135,
"className":
"io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "handleReconcile",
"fileName": "ReconciliationDispatcher.java",
"lineNumber": 115,
"className":
"io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "handleDispatch",
"fileName": "ReconciliationDispatcher.java",
"lineNumber": 86,
"className":
"io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "handleExecution",
"fileName": "ReconciliationDispatcher.java",
"lineNumber": 59,
"className":
"io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher",
"nativeMethod": false
},
{
"classLoaderName": "app",
"moduleName": null,
"moduleVersion": null,
"methodName": "run",
"fileName": "EventProcessor.java",
"lineNumber": 395,
"className":
"io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor",
"nativeMethod": false
},
{
"classLoaderName": null,
"moduleName": "java.base",
"moduleVersion": "11.0.14",
"methodName": "runWorker",
"fileName": "ThreadPoolExecutor.java",
"lineNumber": 1128,
"className": "java.util.concurrent.ThreadPoolExecutor",
"nativeMethod": false
},
{
"classLoaderName": null,
"moduleName": "java.base",
"moduleVersion": "11.0.14",
"methodName": "run",
"fileName": "ThreadPoolExecutor.java",
"lineNumber": 628,
"className": "java.util.concurrent.ThreadPoolExecutor$Worker",
"nativeMethod": false
},
{
"classLoaderName": null,
"moduleName": "java.base",
"moduleVersion": "11.0.14",
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 829,
"className": "java.lang.Thread",
"nativeMethod": false
}
],
"throwableList": [
{
"type": "java.lang.IllegalArgumentException",
"message": "Only \"local\" is supported as schema for application
mode. This assumes that thejar is located in the image, not the Flink client.
An example of such path is:local:///opt/flink/examples/streaming/WindowJoin.jar"
}
]
}
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]