Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
kubernetes-operator-1.3.0
Description
tagarr has pointed out an issue with using the /opt/flink/artifacts filesystem on OpenShift in non-default namespaces. The OpenShift permissions don't allow write to /opt.
```
org.apache.flink.util.FlinkRuntimeException: Failed to create the dir: /opt/flink/artifacts/jim/basic-session-deployment-only-example/basic-session-job-only-example
```
A few ways to solve the problem are:
1. Remove the comment on line 34 here in flink-conf.yaml and change it to: /tmp/flink/artifacts
2. Append this after line 143 here in values.yaml:
kubernetes.operator.user.artifacts.base.dir: /tmp/flink/artifacts
3. Changing it in line 142 of KubernetesOperatorConfigOptions.java like this:
.defaultValue("/tmp/flink/artifacts")
and then rebuilding the operator image.
Attachments
Issue Links
- links to