[
https://issues.apache.org/jira/browse/HDDS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659743#comment-16659743
]
Anu Engineer edited comment on HDDS-530 at 10/22/18 10:01 PM:
--------------------------------------------------------------
yes, until that regex is fixed, that is. I will fix it as soon as 0.3 is
released. Since we did all the testing this format, I don't wan to rock the
boat this close to release.
was (Author: anu):
yes, until that regex is fixed, that is.
> 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
> Assignee: Anu Engineer
> Priority: Blocker
> Labels: alpha2
>
> The valid uri pattern for an Ozone fs uri should be
> {{o3fs://<hostname>:<port>/<volume>/<bucket>}}.
> But OzoneFileSystem accepts uri's of the form {{o3fs://<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 o3fs://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]