[ https://issues.apache.org/jira/browse/HDDS-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700326#comment-16700326 ]
Hudson commented on HDDS-766: ----------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15509 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/15509/]) HDDS-766. Ozone shell create volume fails if volume name does not have a (kube-backup: rev 96c104d365bed3d7648caf2bd6cb70a7ab6f6882) * (edit) hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/web/ozShell/TestOzoneAddress.java * (edit) hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/OzoneAddress.java > Ozone shell create volume fails if volume name does not have a leading slash > ---------------------------------------------------------------------------- > > Key: HDDS-766 > URL: https://issues.apache.org/jira/browse/HDDS-766 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Hanisha Koneru > Assignee: chencan > Priority: Major > Labels: newbie > Attachments: HDDS-766.001.patch, HDDS-766.003.patch, > HDDS-766.004.patch > > > After HDDS-682, volume creation through shell fails if the volume name does > not have leading slash. > {code:java} > $ ./ozone sh volume create volume1 > Volume name is required > $ ./ozone sh volume create /volume1 > 2018-10-30 14:07:58,078 INFO rpc.RpcClient: Creating Volume: volume1, with > hdds as owner and quota set to 1152921504606846976 bytes.{code} > In {{OzoneAddress#stringToUri}}, when creating a new URI, the path parameter > is expected to have a leading slash. Otherwise, the path gets mixed with the > authority. > To fix this, we should add a leading slash to the path variable, if it does > not exist, before constructing the URI object. -- 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