liting liu created FLINK-36567:
----------------------------------
Summary: Planner module didn't use the setting from flink-conf.yaml
Key: FLINK-36567
URL: https://issues.apache.org/jira/browse/FLINK-36567
Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Affects Versions: 1.18.1
Reporter: liting liu
I found the flink-table-planner_*.jar was generated in the /tmp dir, event
though the conf
`io.tmp.dirs` has been set to `/opt`.
See jobmanger's log:
2024-10-17 08:52:30,330 INFO org.apache.flink.configuration.GlobalConfiguration
[] - Loading configuration property: io.tmp.dirs, /opt
The code related should be
```
org.apache.flink.table.planner.loader.PlannerModule#PlannerModule
private PlannerModule() {
try {
final ClassLoader flinkClassLoader = PlannerModule.class.getClassLoader();
final Path tmpDirectory =
Paths.get(ConfigurationUtils.parseTempDirectories(new Configuration())[0]);
```
The PlannerModule creates a new Configuration instead of using the values from
the configFile.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)