Ajay Kumar created HDDS-855:
-------------------------------

             Summary: Move OMMetadataManager from hadoop-ozone/ozone-manager to 
hadoop-ozone/common
                 Key: HDDS-855
                 URL: https://issues.apache.org/jira/browse/HDDS-855
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: documentation
            Reporter: Ajay Kumar
            Assignee: Anu Engineer


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

Reply via email to