[
https://issues.apache.org/jira/browse/FLINK-33472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786565#comment-17786565
]
zhengzhili edited comment on FLINK-33472 at 11/16/23 1:56 AM:
--------------------------------------------------------------
After creating the flink-conf.yaml temporary file in
YarnClusterDescriptor#startAppMaster, Through YarnApplicationFileUploader#
registerSingleLocalResource registered local files,
In this case, if (Utils.isRemotePath(resourcePath.toString())) is used to
determine whether the file is remote based on the path.
The incoming tmpConfigurationFile#getAbsolutePath makes Utils. IsRemotePath
considered remote file
When FileSystem is S3AFileSystem, the getFileStatus method displays an error
indicating that the file does not exist
Incoming parameters should be new Path (tmpConfigurationFile.toURI ()) to the
new Path (tmpConfigurationFile. getAbsolutePath ())
!image-2023-11-16-09-55-00-586.png|width=569,height=435!
was (Author: JIRAUSER302860):
After creating the flink-conf.yaml temporary file in
YarnClusterDescriptor#startAppMaster, Through YarnApplicationFileUploader#
registerSingleLocalResource registered local files,
In this case, if (Utils.isRemotePath(resourcePath.toString())) is used to
determine whether the file is remote based on the path.
The incoming tmpConfigurationFile#getAbsolutePath makes Utils. IsRemotePath
considered remote file
When FileSystem is S3AFileSystem, the getFileStatus method displays an error
indicating that the file does not exist
Incoming parameters should be new Path (tmpConfigurationFile.toURI ()) to the
new Path (tmpConfigurationFile. getAbsolutePath ())
!image-2023-11-16-09-55-00-586.png!
> Solve the problem that the temporary file of flink-conf.yaml in S3AFileSystem
> cannot be uploaded
> ------------------------------------------------------------------------------------------------
>
> Key: FLINK-33472
> URL: https://issues.apache.org/jira/browse/FLINK-33472
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.17.1
> Reporter: zhengzhili
> Priority: Minor
> Attachments: image-2023-11-16-09-50-47-845.png,
> image-2023-11-16-09-54-08-027.png, image-2023-11-16-09-55-00-586.png,
> sunlogin_20231116094752-1.bmp, sunlogin_20231116094752.bmp
>
>
> Solve the problem that the temporary file of flink-conf.yaml in S3AFileSystem
> cannot be uploaded。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)