[ 
https://issues.apache.org/jira/browse/FLINK-29333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-29333:
-----------------------------------
      Labels: auto-deprioritized-major pull-request-available  (was: 
pull-request-available stale-major)
    Priority: Minor  (was: Major)

This issue was labeled "stale-major" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Major, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> Flink SQL Planner Module doesn't read config from flink-conf.yaml
> -----------------------------------------------------------------
>
>                 Key: FLINK-29333
>                 URL: https://issues.apache.org/jira/browse/FLINK-29333
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.15.0
>            Reporter: Dhananjay Badaya
>            Priority: Minor
>              Labels: auto-deprioritized-major, pull-request-available
>
> PlannerModule class doesn't seem to be reading the configs from the 
> {{/etc/flink/conf/flink-conf.yaml}} directory. ([code 
> ref|https://github.com/apache/flink/blob/master/flink-table/flink-table-planner-loader/src/main/java/org/apache/flink/table/planner/loader/PlannerModule.java#L95]).
>  It is only reading the default config values defined in the Java code. So, 
> we can't override configs using flink-conf.yaml.
>  
>  
> Use-case: We need to modify the default value of {{io.tmp.dirs}} as the 
> default value (/tmp) is a symlink on our platform , and 
> {{java.nio.file.Files.createDirectory}} (which is used By Flink in this case) 
> doesn't handle symlinks properly 
> [ref|https://bugs.openjdk.org/browse/JDK-8130464].
> {code:java}
> Caused by: java.nio.file.FileAlreadyExistsException: /tmp at 
> sun.nio.fs.UnixException.translateToIOException(UnixException.java:88) at 
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at 
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at 
> sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
>  at java.nio.file.Files.createDirectory(Files.java:674) at 
> java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) at 
> java.nio.file.Files.createDirectories(Files.java:727) at 
> org.apache.flink.table.planner.loader.PlannerModule.<init>(PlannerModule.java:96)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to