You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2020/02/04 20:36:00 UTC

[jira] [Updated] (HDDS-2979) Implement ofs://: fix getFileStatus for mkdir volume

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

Siyao Meng updated HDDS-2979:
-----------------------------
    Summary: Implement ofs://: fix getFileStatus for mkdir volume  (was: Implement ofs://: Workaround in getFileStatus when mkdir a volume)

> Implement ofs://: fix getFileStatus for mkdir volume
> ----------------------------------------------------
>
>                 Key: HDDS-2979
>                 URL: https://issues.apache.org/jira/browse/HDDS-2979
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> [~xyao] discovered that when running {{ozone fs -mkdir -p ofs://om/vol1/}}, the command would fail in {{getFileStatus}} (before reaching {{createDirectory()}}) in Hadoop common code:
> {code:bash}
> bash-4.2$ ozone fs -mkdir -p ofs://om/vol1/
> -mkdir: Bucket or Volume length is illegal, valid length is 3-63 characters
> # Same w/o -p
> bash-4.2$ ozone fs -mkdir ofs://om/vol1/
> -mkdir: Bucket or Volume length is illegal, valid length is 3-63 characters
> {code}
> And we discovered with debugger attached that the root cause is that {{getFileStatus()}} is not behaving as expected.
> Suggested workaround: Patch existing OFS code, throw proper exception in {{getBucket()}} code to make Hadoop common happy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org