hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3888) BlockPlacementPolicyDefault code cleanup
Date Wed, 05 Sep 2012 00:05:08 GMT

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

Hudson commented on HDFS-3888:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2742 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2742/])
    HDFS-3888. Clean up BlockPlacementPolicyDefault.  Contributed by Jing Zhao (Revision 1380939)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1380939
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java

                
> BlockPlacementPolicyDefault code cleanup
> ----------------------------------------
>
>                 Key: HDFS-3888
>                 URL: https://issues.apache.org/jira/browse/HDFS-3888
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>         Attachments: HDFS-3888.patch, HDFS-3888.patch
>
>
> BlockPlacementPolicyDefault#LOG should be removed as it hides LOG from the base class
BlockPlacementPolicy. Also, in BlockPlacementPolicyDefault#chooseTarget method, the logic
computing the maxTargetPerLoc can be made a separate method.

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

Mime
View raw message