Sangjin Lee created HADOOP-19488:
------------------------------------
Summary: 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
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]