[ 
https://issues.apache.org/jira/browse/HADOOP-14600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ping Liu updated HADOOP-14600:
------------------------------
    Attachment: HADOOP-14600.004.patch

=> Fixed license issue
        - added ASF license header to newly added Helper.java

=> Fixed deprecation issue
        - added Suppression anotation in 
TestRawLocalFileSystemContract.testPermission()

=> Fixed leftover test directory and file, which should have be cleaned up
        - changed to use test base directory (getTestBaseDir()) in 
TestRawLocalFileSystemContract.testPermission()
        - this directory will be automatically recycled in tearDown()

Please note that there are totally three test failures as follows.

{quote}Tests in error: 
  TestKDiag.testKeytabAndPrincipal:162->kdiag:119 ? KerberosAuth Login failure 
f...
  TestKDiag.testFileOutput:186->kdiag:119 ? KerberosAuth Login failure for 
user:...
  TestKDiag.testLoadResource:196->kdiag:119 ? KerberosAuth Login failure for 
use...

Tests run: 3927, Failures: 0, Errors: 3, Skipped: 206{quote}

The failures are all from TestKDiag which is not related to HADOOP-14600.

> LocatedFileStatus constructor forces RawLocalFS to exec a process to get the 
> permissions
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14600
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14600
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.7.3
>         Environment: file:// in a dir with many files
>            Reporter: Steve Loughran
>            Assignee: Ping Liu
>         Attachments: HADOOP-14600.001.patch, HADOOP-14600.002.patch, 
> HADOOP-14600.003.patch, HADOOP-14600.004.patch, 
> TestRawLocalFileSystemContract.java
>
>
> Reported in SPARK-21137. a {{FileSystem.listStatus}} call really craws 
> against the local FS, because {{FileStatus.getPemissions}} call forces  
> {{DeprecatedRawLocalFileStatus}} tp spawn a process to read the real UGI 
> values.
> That is: for every other FS, what's a field lookup or even a no-op, on the 
> local FS it's a process exec/spawn, with all the costs. This gets expensive 
> if you have many files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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