hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
Date Mon, 06 Mar 2017 20:28:33 GMT
Xiaoyu Yao created HDFS-11504:

             Summary: Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
                 Key: HDFS-11504
                 URL: https://issues.apache.org/jira/browse/HDFS-11504
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: HDFS-7240
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao

The signature of the APIs are listed below. This allows SCM to 

1) allocateBlock for client and maintain the key->container mapping in level DB in addition
to the existing container to pipeline mapping in level DB. 

2) return the pipeline of a block based on the key.

3) remove the block based on the key of the block. 

<Pipeline,key> allocateBlock(long size)
<Pipeline> getBlock(key);
void deleteBlock(key);

This message was sent by Atlassian JIRA

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

View raw message