hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soumitra Sulav (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-568) Ozone sh unable to delete volume
Date Wed, 03 Oct 2018 10:17:00 GMT
Soumitra Sulav created HDDS-568:
-----------------------------------

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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message