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 Tang (Jira)" <ji...@apache.org> on 2020/05/27 13:51:00 UTC
[jira] [Updated] (FLINK-10954) Hardlink from files of previous
local stored state might cross devices
[ https://issues.apache.org/jira/browse/FLINK-10954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Tang updated FLINK-10954:
-----------------------------
Fix Version/s: (was: 1.7.3)
1.11.0
> Hardlink from files of previous local stored state might cross devices
> ----------------------------------------------------------------------
>
> Key: FLINK-10954
> URL: https://issues.apache.org/jira/browse/FLINK-10954
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Affects Versions: 1.6.2
> Reporter: Yun Tang
> Assignee: Yun Tang
> Priority: Major
> Fix For: 1.11.0
>
>
> Currently, local recovery's base directories is initialized from '{{io.tmp.dirs}}' if parameter '{{taskmanager.state.local.root-dirs}}' is not set. For Yarn environment, the tmp dirs is replaced by its '{{LOCAL_DIRS}}', which might consist of directories from different devices, such as /dump/1/nm-local-dir, /dump/2/nm-local-dir. The local directory for RocksDB is initialized from IOManager's spillingDirectories, which might located in different device from local recovery's folder. However, hard-link between different devices is not allowed, it will throw exception below:
> {code:java}
> java.nio.file.FileSystemException: target -> souce: Invalid cross-device link
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)