hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Chitlangia (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDDS-568) Ozone sh unable to delete volume
Date Fri, 05 Oct 2018 05:50:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639295#comment-16639295
] 

Dinesh Chitlangia edited comment on HDDS-568 at 10/5/18 5:49 AM:
-----------------------------------------------------------------

[~arpitagarwal] From my initial tests, it appears that if the volume does not begin with a
/ then the info and delete commands fail to find that volume, while create succeeds.

I will investigate this further.


was (Author: dineshchitlangia):
[~arpitagarwal] From my initial tests, it appears the if the volume does not begin with a
/ then the info and delete commands fail to find that volume.

I will investigate this further.

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


Mime
View raw message