[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.006.patch checkstyle/findbugs fix. > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch, > HDFS-11504-HDFS-7240.002.patch, HDFS-11504-HDFS-7240.003.patch, > HDFS-11504-HDFS-7240.004.patch, HDFS-11504-HDFS-7240.005.patch, > HDFS-11504-HDFS-7240.006.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.005.patch > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch, > HDFS-11504-HDFS-7240.002.patch, HDFS-11504-HDFS-7240.003.patch, > HDFS-11504-HDFS-7240.004.patch, HDFS-11504-HDFS-7240.005.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.004.patch Fix the checkstyle and findbugs issue. > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch, > HDFS-11504-HDFS-7240.002.patch, HDFS-11504-HDFS-7240.003.patch, > HDFS-11504-HDFS-7240.004.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.003.patch > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch, > HDFS-11504-HDFS-7240.002.patch, HDFS-11504-HDFS-7240.003.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.002.patch Fix the checkstyle issue. > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch, > HDFS-11504-HDFS-7240.002.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Status: Patch Available (was: Open) > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.001.patch > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: (was: HDFS-11504-HDFS-7240.001.patch) > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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
[jira] [Updated] (HDFS-11504) Ozone: SCM: Add AllocateBlock/DeleteBlock/GetBlock APIs
[ https://issues.apache.org/jira/browse/HDFS-11504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-11504: -- Attachment: HDFS-11504-HDFS-7240.001.patch Attach an initial patch with unit test. > 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 > Attachments: HDFS-11504-HDFS-7240.001.patch > > > 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. > {code} > allocateBlock(long size) > getBlock(key); > void deleteBlock(key); > {code} -- 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