Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23127

Can't use plugins for GCS filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.13.0
    • None
    • FileSystems
    • None

    Description

      I've been trying to add support for the GCS filesystem. I have a working example where I add two JARs to the /opt/flink/lib/ folder:

      Now I'm trying to follow the advice from this page and use Plugins instead. I followed the recommendations from here. Now I have two JARs in the /opt/flink/plugins/hadoop-gcs/ folder:

      As I can see, shading is not required for plugins (that's one of the reasons to use them), so I want to make it work with a simple non-shaded hadoop-common.

      However, the JobManager fails with an exception (full stacktrace is available is an attachment):

      Caused by: org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Hadoop is not in the classpath/dependencies.

      The exception is thrown when org.apache.hadoop.conf.Configuration and org.apache.hadoop.fs.FileSystem are not available in the classpath, but they're available in hadoop-common and should have been loaded.

      Attachments

        1. exception-stacktrace.txt
          12 kB
          Yaroslav Tkachenko

        Activity

          People

            Unassigned Unassigned
            sap1ens Yaroslav Tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: