hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDDS-530) Fix Ozone fs valid uri pattern
Date Mon, 22 Oct 2018 20:21:00 GMT

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

Arpit Agarwal edited comment on HDDS-530 at 10/22/18 8:20 PM:
--------------------------------------------------------------

[~anu], do we have any way to provide the hostname with an o3fs path?


was (Author: arpitagarwal):
[~anu], will we have any way to provide the hostname with an o3fs path?

> 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


Mime
View raw message