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

Feilong He commented on HDFS-14354:
-----------------------------------

The initial patch has been uploaded. This patch mainly focus on refactoring 
MappableBlock to align with the implementation of SCM cache.

MappableBlock is changed to an interface, which is implemented by 
MemoryMappedBlock for DRAM cache. MemoryMappableBlockLoader extends 
MappableBlockLoader, an abstract class. Its major responsibility is mapping 
block to DRAM and then return a MemoryMappedBlock instance.

For SCM cache, there will be corresponding implementations for interface 
MappableBlock and the abstract load method in MappableBlockLoader.

> Refactor MappableBlock to align with the implementation of SCM cache
> --------------------------------------------------------------------
>
>                 Key: HDFS-14354
>                 URL: https://issues.apache.org/jira/browse/HDFS-14354
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: caching, datanode
>            Reporter: Feilong He
>            Assignee: Feilong He
>            Priority: Major
>         Attachments: HDFS-14354.000.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to