You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Vincent Chenal (Jira)" <ji...@apache.org> on 2023/01/31 11:12:00 UTC

[jira] [Created] (FLINK-30851) flink-kubernetes-operator - operator image should provide s3 support for jarUri

Vincent Chenal created FLINK-30851:
--------------------------------------

             Summary: flink-kubernetes-operator - operator image should provide s3 support for jarUri
                 Key: FLINK-30851
                 URL: https://issues.apache.org/jira/browse/FLINK-30851
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
    Affects Versions: kubernetes-operator-1.3.1
            Reporter: Vincent Chenal


The docker image does not embed filesystem plugins.
Neither in plugins/ neither in opt/ folders.

I'd like to use jarUri this way:
{code:java}
apiVersion: flink.apache.org/v1beta1
kind: FlinkSessionJob
metadata:
  name: myjob
spec:
  deploymentName: mydeployment
  job:
    jarURI: s3://somebucket/myjar.jar {code}
But I'm getting this error:
{code:java}
Could not find a file system implementation for scheme 's3'. The scheme is directly supported by Flink through the following plugins: flink-s3-fs-hadoop, flink-s3-fs-presto. Please ensure that each plugin resides within its own subfolder within the plugins directory. See https://ci.apache.org/projects/flink/flink-docs-stable/ops/plugins.html for more information. If you want to use a Hadoop file system for that scheme, please add the scheme to the configuration fs.allowed-fallback-filesystems. For a full list of supported file systems, please see https://nightlies.apache.org/flink/flink-docs-stable/ops/filesystems/. {code}

I was able to make it work by putting flink 1.16 s3-presto-fs jar within the flink-kubernetes-operator image but it would make sense to have it natively.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)