[ https://issues.apache.org/jira/browse/FLINK-19228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197558#comment-17197558 ]
Nicholas Jiang edited comment on FLINK-19228 at 9/17/20, 9:29 AM: ------------------------------------------------------------------ [~lzljs3620320]Therefore, toStagingPath() could be removed and setTempPath with new Path(path, ".staging_" + System.currentTimeMillis())? No need to check the status of staging directory? was (Author: nicholasjiang): [~lzljs3620320]Therefore, toStagingPath() could be removed and setTempPath with new Path(path, ".staging_" + System.currentTimeMillis())? > Avoid accessing FileSystem in client for file system connector > --------------------------------------------------------------- > > Key: FLINK-19228 > URL: https://issues.apache.org/jira/browse/FLINK-19228 > Project: Flink > Issue Type: Bug > Components: Connectors / FileSystem > Reporter: Jingsong Lee > Priority: Major > Fix For: 1.11.3 > > > On the client, there may not be a corresponding file system plugin, so we can > not access the specific file system. We can not access the file system on the > client, but put the work on the job manager or task manager. > Currently, it seems that only creating temporary directory through Filesystem > inĀ {{toStagingPath}}, but this is completely avoidable. -- This message was sent by Atlassian Jira (v8.3.4#803005)