Skip to content

[collection] environment do not respect flink-conf.yaml. #20709

@damccorm

Description

@damccorm

When the Flink master is set to -[auto] and- [collection], flink-conf.yaml (from the FLINK_CONF_DIR environment variable, or the --flink-conf-dir option of the job server) is disregarded.

-This can result in some confusing behavior. For example, when [auto] creates a local environment, an empty Configuration() object is used.-

-

} else if ("[collection]".equals(flinkMasterHostPort)) {
flinkBatchEnv = new CollectionEnvironment();
} else if ("[auto]".equals(flinkMasterHostPort)) {
flinkBatchEnv = ExecutionEnvironment.getExecutionEnvironment();
-

 

Imported from Jira BEAM-11612. Original Jira may contain additional context.
Reported by: ibzib.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions