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

Chen Liang updated HDFS-11361:
------------------------------
    Description: 
This JIRA adds two major pieces: 1. the interface exposed to upper layer 
operating system that mounts the file system; and 2. the interface exposed to 
lower layer container storage layer.

On one hand, to make CBlock mounted and accessible for OS, we need to implement 
some protocol. We chose to do this by running cblock as a iSCSI 
(http://jscsi.org/) which is a java implementation of iSCSI protocol. More 
specifically, CBlock volume will exposed as an iSCSI target. This is JIRA make 
a starting point by introducing jSCSI and implementing its {{IStorageModule}}.

One the other hand, to be able to talk to container layer with better 
performance, cblock should be able to cache data locally. More 
specifically,clients' read/write should be performed on the locally disk cache, 
while threads are pushing and retrieving data in backend. This JIRA takes the 
first step by defining interfaces for the local cache. This allows us to 
implement caches with a baseline and makes the unit tests a lot easier.

  was:
To be able to get better performance, it would greatly helpful if cblock is 
able to cache data locally. More specifically, ideally, clients' read/write 
should be performed on the locally disk cache, while threads are pushing and 
retrieving data in backend.

This JIRA takes the first step by defining interfaces for the local cache. This 
allows us to implement caches with a baseline and makes the unit tests a lot 
easier.


> Block Storage : add cache interface
> -----------------------------------
>
>                 Key: HDFS-11361
>                 URL: https://issues.apache.org/jira/browse/HDFS-11361
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>
> This JIRA adds two major pieces: 1. the interface exposed to upper layer 
> operating system that mounts the file system; and 2. the interface exposed to 
> lower layer container storage layer.
> On one hand, to make CBlock mounted and accessible for OS, we need to 
> implement some protocol. We chose to do this by running cblock as a iSCSI 
> (http://jscsi.org/) which is a java implementation of iSCSI protocol. More 
> specifically, CBlock volume will exposed as an iSCSI target. This is JIRA 
> make a starting point by introducing jSCSI and implementing its 
> {{IStorageModule}}.
> One the other hand, to be able to talk to container layer with better 
> performance, cblock should be able to cache data locally. More 
> specifically,clients' read/write should be performed on the locally disk 
> cache, while threads are pushing and retrieving data in backend. This JIRA 
> takes the first step by defining interfaces for the local cache. This allows 
> us to implement caches with a baseline and makes the unit tests a lot easier.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to