You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/10/28 12:12:00 UTC
[jira] [Updated] (FLINK-24381) Table API exceptions may leak
sensitive configuration values
[ https://issues.apache.org/jira/browse/FLINK-24381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-24381:
-------------------------------------
Affects Version/s: (was: 1.13.2)
1.13.0
> Table API exceptions may leak sensitive configuration values
> ------------------------------------------------------------
>
> Key: FLINK-24381
> URL: https://issues.apache.org/jira/browse/FLINK-24381
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.13.0
> Reporter: Ada Wong
> Assignee: Ada Wong
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> This following is error message. Password is 'bar' and is displayed.
> Could we hidden it to password='******' or password='<hidden>' inspired by Apache Kafka source code.
> {code:java}
> Missing required options are:
> hosts
> Unable to create a sink for writing table 'default_catalog.default_database.dws'.
> Table options are:
> 'connector'='elasticsearch7-x'
> 'index'='foo'
> 'password'='bar'
> at org.apache.flink.table.factories.FactoryUtil.createTableSink(FactoryUtil.java:208)
> at org.apache.flink.table.planner.delegation.PlannerBase.getTableSink(PlannerBase.scala:369)
> at org.apache.flink.table.planner.delegation.PlannerBase.translateToRel(PlannerBase.scala:221)
> at org.apache.flink.table.planner.delegation.PlannerBase.$anonfun$translate$1(PlannerBase.scala:159
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)