Gautham Banasandra created HADOOP-19599:
-------------------------------------------

             Summary: Determine file permission errors as per the platform
                 Key: HADOOP-19599
                 URL: https://issues.apache.org/jira/browse/HADOOP-19599
             Project: Hadoop Common
          Issue Type: Bug
          Components: hadoop-common
    Affects Versions: 3.5.0
         Environment: Windows 10
            Reporter: Gautham Banasandra
            Assignee: Gautham Banasandra
             Fix For: 3.5.0


The file permission denial error message in Linux systems end with "(Permission 
denied)" particularly.
However, an error message in the same scenario on Windows ends with "(Access is 
denied)" error.

This results in a bug in 
*org.apache.hadoop.fs.ChecksumFileSystem.ChecksumFSInputChecker* and also leads 
to a unit test failure 
*org.apache.hadoop.fs.TestFsShellCopy#testPutSrcFileNoPerm*.

Thus, we need to make the appropriate check in accordance with the platform.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to