You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xuqianjin (JIRA)" <ji...@apache.org> on 2018/09/21 05:10:00 UTC
[jira] [Comment Edited] (FLINK-8851) SQL Client fails if same file
is used as default and env configuration
[ https://issues.apache.org/jira/browse/FLINK-8851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623073#comment-16623073 ]
xuqianjin edited comment on FLINK-8851 at 9/21/18 5:09 AM:
-----------------------------------------------------------
[~fhueske] [~twalthr] Hello, I want to try to recreate and fix this bug.
was (Author: x1q1j1):
[~fhueske] [~twalthr] Hello, I want to try to recreate and fix this bug.
> SQL Client fails if same file is used as default and env configuration
> ----------------------------------------------------------------------
>
> Key: FLINK-8851
> URL: https://issues.apache.org/jira/browse/FLINK-8851
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Affects Versions: 1.5.0
> Reporter: Fabian Hueske
> Assignee: Timo Walther
> Priority: Critical
> Fix For: 1.5.5
>
>
> Specifying the same file as default and environment configuration yields the following exception
> {code:java}
> Exception in thread "main" org.apache.flink.table.client.SqlClientException: Unexpected exception. This is a bug. Please consider filing an issue.
> at org.apache.flink.table.client.SqlClient.main(SqlClient.java:156)
> Caused by: java.lang.UnsupportedOperationException
> at java.util.AbstractMap.put(AbstractMap.java:209)
> at java.util.AbstractMap.putAll(AbstractMap.java:281)
> at org.apache.flink.table.client.config.Environment.merge(Environment.java:107)
> at org.apache.flink.table.client.gateway.local.LocalExecutor.createEnvironment(LocalExecutor.java:461)
> at org.apache.flink.table.client.gateway.local.LocalExecutor.listTables(LocalExecutor.java:203)
> at org.apache.flink.table.client.cli.CliClient.callShowTables(CliClient.java:270)
> at org.apache.flink.table.client.cli.CliClient.open(CliClient.java:198)
> at org.apache.flink.table.client.SqlClient.start(SqlClient.java:97)
> at org.apache.flink.table.client.SqlClient.main(SqlClient.java:146){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)