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

Hudson commented on HADOOP-9981:
--------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1560 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1560/])
HADOOP-9981. globStatus should minimize its listStatus and getFileStatus calls. 
 (Contributed by Colin Patrick McCabe) (cmccabe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526297)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Globber.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java

                
> globStatus should minimize its listStatus and getFileStatus calls
> -----------------------------------------------------------------
>
>                 Key: HADOOP-9981
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9981
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Kihwal Lee
>            Assignee: Colin Patrick McCabe
>            Priority: Critical
>             Fix For: 2.3.0
>
>         Attachments: HADOOP-9981.001.patch, HADOOP-9981.002.patch, 
> HADOOP-9981.003.patch
>
>
> After HADOOP-9652, listStatus() or globStatus() calls against a local file 
> system directory is very slow.  A user was loading data from local file 
> system to Hive and it took about 30 seconds. The same operation took less 
> than a second pre-HADOOP-9652. 
> The input path had many other files beside the input files and strace showed 
> that fork & exec of stat against each and every one of them. jstack confirmed 
> that this was being done from getNativeFileLinkStatus().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to