[ 
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://: fix getFileStatus for mkdir 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to