You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sangjin Lee (Jira)" <ji...@apache.org> on 2025/03/09 15:59:00 UTC
[jira] [Created] (HADOOP-19488) RunJar throws UnsupportedOperationException on Windows
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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org