You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:06 UTC

[jira] [Updated] (FLINK-19007) Automatically set presto staging directory to io.tmp.dirs

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

Yun Gao updated FLINK-19007:
----------------------------
    Fix Version/s: 1.16.0

> Automatically set presto staging directory to io.tmp.dirs
> ---------------------------------------------------------
>
>                 Key: FLINK-19007
>                 URL: https://issues.apache.org/jira/browse/FLINK-19007
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem, Runtime / Configuration
>            Reporter: Chesnay Schepler
>            Priority: Minor
>              Labels: auto-deprioritized-major, usability
>             Fix For: 1.15.0, 1.16.0
>
>
> The presto S3 filesystem uses a staging directory on the local disk (for buffering data or something). This directory by default points to {{/tmp}}.
> We often see users configuring a special directory for temporary files via {{io.tmp.dirs}}, and it would make sense to automatically set the {{staging-directory}} to the same path, iff it was not explicitly configured.
> The corresponding property is {{presto.s3.staging-directory}}, found at {{com.facebook.presto.hive.s3.PrestoS3FileSystem.S3_STAGING_DIRECTORY}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)