[ https://issues.apache.org/jira/browse/HDDS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624292#comment-16624292 ]
Bharat Viswanadham commented on HDDS-530: ----------------------------------------- Hi [~hanishakoneru] This is changed as part of HDFS-13108. I have not got complete context of this, but from Jira description this was changed purposefully to o3://<bucket>.<volume> > Fix Ozone fs valid uri pattern > ------------------------------ > > Key: HDDS-530 > URL: https://issues.apache.org/jira/browse/HDDS-530 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Hanisha Koneru > Priority: Major > Labels: alpha2 > Fix For: 0.2.2 > > > The valid uri pattern for an Ozone fs uri should be > {{o3://<hostname>:<port>/<volume>/<bucket>}}. > But OzoneFileSystem accepts uri's of the form {{o3://<bucket>.<volume>}} only. > {code:java} > # In OzoneFileSyste.java > private static final Pattern URL_SCHEMA_PATTERN = > Pattern.compile("(.+)\\.([^\\.]+)"); > if (!matcher.matches()) { > throw new IllegalArgumentException("Ozone file system url should be " > + "in the form o3://bucket.volume"); > }{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