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

Hudson commented on HDDS-568:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15161 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15161/])
HDDS-568. ozone sh volume info, update, delete operations fail when (aengineer: 
rev 4de2dc2699fc371b2de83ba55ecbcecef1f0423b)
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/volume/InfoVolumeHandler.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/Handler.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/volume/DeleteVolumeHandler.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/volume/UpdateVolumeHandler.java


> ozone sh volume info, update, delete operations fail when volume name is not 
> prefixed by /
> ------------------------------------------------------------------------------------------
>
>                 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.2.1
>            Reporter: Soumitra Sulav
>            Assignee: Dinesh Chitlangia
>            Priority: Blocker
>         Attachments: HDDS-568.001.patch, HDDS-568.002.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to