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 16:52:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17435556#comment-17435556 ] 

Chesnay Schepler commented on FLINK-24381:
------------------------------------------

[~ana4] I have already backported the PR to 1.13. 1.12 is no longer being supported.

> Table API exceptions may leak sensitive configuration values
> ------------------------------------------------------------
>
>                 Key: FLINK-24381
>                 URL: https://issues.apache.org/jira/browse/FLINK-24381
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.13.0
>            Reporter: Ada Wong
>            Assignee: Ada Wong
>            Priority: Critical
>              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)