[
https://issues.apache.org/jira/browse/HADOOP-19031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806679#comment-17806679
]
ASF GitHub Bot commented on HADOOP-19031:
-----------------------------------------
Hexiaoqiao commented on PR #6427:
URL: https://github.com/apache/hadoop/pull/6427#issuecomment-1891531112
Attach Javadoc about Files.createTempDirectory().
https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createTempDirectory-java.nio.file.Path-java.lang.String-java.nio.file.attribute.FileAttribute...-
Considering that this method can loop generate random names until file or
directory can be created, And invoked to check write access when creating the
directory. So it didn't need to delete and mkdir again IMO. FYI.
cc @ayushtkn @slfan1989 @zhangshuyan0
> Enhance access control for RunJar
> ---------------------------------
>
> Key: HADOOP-19031
> URL: https://issues.apache.org/jira/browse/HADOOP-19031
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Xiaoqiao He
> Assignee: Xiaoqiao He
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]