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

Yuanbo Liu updated HDFS-12328:
------------------------------
    Description: 
In HDFS-12283, we set the value of count to -1 if blocks cannot be deleted 
after max retry times. We need to provide APIs for admins to purge the "-1" 
metadata manually. Implement these commands:
list the txids
{code}
hdfs scm -txid list -count<number> -retry <number>
{code}
delete the txid
{code}
hdfs scm -txid delete -id <txid>
{code}


  was:In HDFS-12283, we set the value of count to -1 if blocks cannot be 
deleted after max retry times. We need to provide APIs for admins to purge the 
"-1" metadata manually.


> Ozone: Purge metadata of deleted blocks after max retry times
> -------------------------------------------------------------
>
>                 Key: HDFS-12328
>                 URL: https://issues.apache.org/jira/browse/HDFS-12328
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yuanbo Liu
>            Assignee: Yuanbo Liu
>
> In HDFS-12283, we set the value of count to -1 if blocks cannot be deleted 
> after max retry times. We need to provide APIs for admins to purge the "-1" 
> metadata manually. Implement these commands:
> list the txids
> {code}
> hdfs scm -txid list -count<number> -retry <number>
> {code}
> delete the txid
> {code}
> hdfs scm -txid delete -id <txid>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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