hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1261) Important methods and fields of BlockPlacementPolicyDefault.java shouldn't be private
Date Thu, 24 Jun 2010 02:11:51 GMT

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

Rodrigo Schmidt commented on HDFS-1261:
---------------------------------------

@Konstantin: I want to extend BlockPlacementPolicyDefault for HDFS-1094.

So far, this is all I need:

{code}
protected NetworkTopology clusterMap;

protected DatanodeDescriptor chooseTarget(,...)
protected DatanodeDescriptor chooseLocalNode(...)
protected void chooseRemoteRack(...)
protected void chooseRandom(...)
protected boolean isGoodTarget(...)
protected DatanodeDescriptor[] getPipeline(...)
{code}

> Important methods and fields of BlockPlacementPolicyDefault.java shouldn't be private
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-1261
>                 URL: https://issues.apache.org/jira/browse/HDFS-1261
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Rodrigo Schmidt
>            Assignee: Rodrigo Schmidt
>             Fix For: 0.22.0
>
>
> BlockPlacementPolicyDefault has important properties and methods listed as private, which
prevents it from being extended in a more useful way.
> We should change them to be protected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message