You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2022/05/10 09:20:00 UTC

[jira] [Created] (FLINK-27562) Creating HDFS table in SQL client throws UnsupportedFileSystemSchemeException even if hadoop jar is added through --jar argument

Caizhi Weng created FLINK-27562:
-----------------------------------

             Summary: Creating HDFS table in SQL client throws UnsupportedFileSystemSchemeException even if hadoop jar is added through --jar argument
                 Key: FLINK-27562
                 URL: https://issues.apache.org/jira/browse/FLINK-27562
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Client
    Affects Versions: 1.15.0
            Reporter: Caizhi Weng


I've downloaded flink-shaded-hadoop-2-uber-2.8.3-10.0.jar and started a SQL client process with command {{bin/sql-client --jar /path/to/flink-shaded-hadoop-2-uber-2.8.3-10.0.jar}}. However when I create an HDFS table in SQL client it complains that
{code}
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Hadoop is not in the classpath/dependencies.
{code}

I've also tried the {{add jar}} statement and that doesn't help either.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)