You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/02/24 23:41:06 UTC

[jira] [Commented] (HDFS-1447) Make getGenerationStampFromFile() more efficient, so it doesn't reprocess full directory listing for every block

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

Hadoop QA commented on HDFS-1447:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12499004/HDFS-1447.patch
  against trunk revision 9a37247.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9661//console

This message is automatically generated.

> Make getGenerationStampFromFile() more efficient, so it doesn't reprocess full directory listing for every block
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1447
>                 URL: https://issues.apache.org/jira/browse/HDFS-1447
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 0.20.2
>            Reporter: Matt Foley
>            Assignee: Matt Foley
>         Attachments: HDFS-1447.patch, Test_HDFS_1447_NotForCommitt.java.patch
>
>
> Make getGenerationStampFromFile() more efficient. Currently this routine is called by addToReplicasMap() for every blockfile in the directory tree, and it walks each file's containing directory on every call. There is a simple refactoring that should make it more efficient.
> This work item is one of four sub-tasks for HDFS-1443, Improve Datanode startup time.
> The fix will probably be folded into sibling task HDFS-1446, which is already refactoring the method that calls getGenerationStampFromFile().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)