[
https://issues.apache.org/jira/browse/HADOOP-19488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933646#comment-17933646
]
Sangjin Lee commented on HADOOP-19488:
--------------------------------------
We changed how we create the temp directory in HADOOP-19031, and this seems to
have broken Windows.
> RunJar throws UnsupportedOperationException on Windows
> ------------------------------------------------------
>
> Key: HADOOP-19488
> URL: https://issues.apache.org/jira/browse/HADOOP-19488
> Project: Hadoop Common
> Issue Type: Bug
> Components: hadoop-common
> Affects Versions: 3.4.1
> Reporter: Sangjin Lee
> Priority: Major
>
> On Windows, run {{hadoop jar}} (with any jar). One immediately gets the
> following exception:
> {{Exception in thread "main" java.lang.UnsupportedOperationException:
> 'posix:permissions' not supported as initial attribute}}
> {{ at
> java.base/sun.nio.fs.WindowsSecurityDescriptor.fromAttribute(WindowsSecurityDescriptor.java:358)}}
> {{ at
> java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:497)}}
> {{ at java.base/java.nio.file.Files.createDirectory(Files.java:690)}}
> {{ at
> java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)}}
> {{ at
> java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)}}
> {{ at java.base/java.nio.file.Files.createTempDirectory(Files.java:966)}}
> {{ at org.apache.hadoop.util.RunJar.run(RunJar.java:296)}}
> {{ at org.apache.hadoop.util.RunJar.main(RunJar.java:245)}}
> I'm running Windows 11 with OpenJDK 11.0.26.
> This bug does not exist in 3.3.6.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]