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

Tsz Wo (Nicholas), SZE updated HDFS-603:
----------------------------------------

    Attachment: h603_20090908.patch

h603_20090908.patch:
- added the Replica interface, which should replace the use of Block in 
Datanode.
- changed getVisibleLen() to not throwing IOException.  Also renamed it to 
getVisibleLength().
- implemented toString() in the Replica subclasses


> Most replica related classes cannot be accessed
> -----------------------------------------------
>
>                 Key: HDFS-603
>                 URL: https://issues.apache.org/jira/browse/HDFS-603
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Tsz Wo (Nicholas), SZE
>             Fix For: Append Branch
>
>         Attachments: h603_20090908.patch
>
>
> Currently, there are several replica related classes in 
> org.apache.hadoop.hdfs.server.datanode:
> - ReplicaInfo
> - ReplicaInPipelineInterface
> - ReplicaInPipeline
> - ReplicaUnderRecovery
> - ReplicaWaitingToBeRecovered
> - ReplicaBeingWritten
> - FinalizedReplica
> All these classes cannot be accessed above FSDatasetInterface.

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

Reply via email to