You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2019/03/01 17:38:00 UTC

[jira] [Commented] (HDDS-530) Fix Ozone fs valid uri pattern

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

Bharat Viswanadham commented on HDDS-530:
-----------------------------------------

This will be taken care of in HDDS-807.

As now we only support o3fs://<<bucket>>.<<volume>>. and ozone documentation is already updated with the same.

[https://github.com/apache/hadoop/blob/trunk/hadoop-hdds/docs/content/OzoneFS.md]

 

 

> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org