[ 
https://issues.apache.org/jira/browse/HDDS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-530:
-------------------------------
    Target Version/s: 0.4.0  (was: 0.3.0)

> 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
>          Components: documentation
>            Reporter: Hanisha Koneru
>            Priority: Major
>              Labels: alpha2
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to