[ https://issues.apache.org/jira/browse/HDDS-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh Chitlangia updated HDDS-568: ----------------------------------- Attachment: HDDS-568.001.patch Status: Patch Available (was: Open) [~arpitagarwal] Attached patch for your review. Verified TestOzoneShell passes all tests and also checked manually. > Ozone sh unable to delete volume > -------------------------------- > > Key: HDDS-568 > URL: https://issues.apache.org/jira/browse/HDDS-568 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Filesystem > Affects Versions: 0.3.0 > Reporter: Soumitra Sulav > Assignee: Dinesh Chitlangia > Priority: Blocker > Attachments: HDDS-568.001.patch > > > Ozone filesystem volume isn't getting deleted even though the underlying > bucket is deleted and is currently empty. > ozone sh command throws an error : VOLUME_NOT_FOUND even though its there > On trying to create again it says : error:VOLUME_ALREADY_EXISTS (as expected). > {code:java} > [root@hcatest-1 ozone-0.3.0-SNAPSHOT]# ozone sh bucket list fstestvol > [ ] > [root@hcatest-1 ozone-0.3.0-SNAPSHOT]# ozone sh volume delete fstestvol > Delete Volume failed, error:VOLUME_NOT_FOUND > [root@hcatest-1 ozone-0.3.0-SNAPSHOT]# ozone sh volume list > [ { > "owner" : { > "name" : "root" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "fstestvol", > "createdOn" : "Fri, 21 Sep 2018 11:19:23 GMT", > "createdBy" : "root" > } ] > [root@hcatest-1 ozone-0.3.0-SNAPSHOT]# ozone sh volume create fstestvol > -u=hdfs > 2018-10-03 10:14:49,151 [main] INFO - Creating Volume: fstestvol, with hdfs > as owner and quota set to 1152921504606846976 bytes. > Volume creation failed, error:VOLUME_ALREADY_EXISTS > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org