[ 
https://issues.apache.org/jira/browse/HADOOP-17895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040555#comment-18040555
 ] 

ASF GitHub Bot commented on HADOOP-17895:
-----------------------------------------

majdyz opened a new pull request, #3391:
URL: https://github.com/apache/hadoop/pull/3391

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   A sample PR to reproduce the failure for 
https://issues.apache.org/jira/projects/HADOOP/issues/HADOOP-17895?filter=allopenissues
   
   ### How was this patch tested?
   Run the test with NativeIO enabled (it's failing)
   
   ### For code changes:
   
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> RawLocalFileSystem cannot mkdir/chmod paths with emojis. ☹️
> -----------------------------------------------------------
>
>                 Key: HADOOP-17895
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17895
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common, fs
>    Affects Versions: 3.3.1
>            Reporter: Zamil Majdy
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> *Bug description:*
> `fs.mkdirs` command for `RawLocalFileSystem` doesn't work in Hadoop 3 with 
> NativeIO enabled.
> The failure was happening when doing the native `chmod` command to the file 
> (the `mkdir` command itself is working).
> Stacktrace:
> {{ENOENT: No such file or directory  ENOENT: No such file or directory at 
> org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmodImpl(Native Method) at 
> org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmod(NativeIO.java:382) at 
> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:974)
>  at 
> org.apache.hadoop.fs.RawLocalFileSystem.mkOneDirWithMode(RawLocalFileSystem.java:660)
>  at 
> org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:700)
>  at 
> org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:672)}}
>  
> *To reproduce:*
>  * Add `fs.mkdirs` in RawLocalFileSystem with NativeIO enabled.
>  * Sample: [https://github.com/apache/hadoop/pull/3391]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to