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

ASF GitHub Bot updated HDDS-14043:
----------------------------------
    Labels: pull-request-available  (was: )

> LS -e throws Unsupported Operation Exception
> --------------------------------------------
>
>                 Key: HDDS-14043
>                 URL: https://issues.apache.org/jira/browse/HDDS-14043
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Chi-Hsuan Huang
>            Priority: Minor
>              Labels: pull-request-available
>
> {noformat}
> bash-5.1$ ozone fs -ls -R -e /abcd/cded
> -ls: Fatal internal error
> java.lang.UnsupportedOperationException: FileSystem ofs://om does not support 
> Erasure Coding
>       at org.apache.hadoop.fs.shell.Ls.processPathArgument(Ls.java:237)
>       at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:301)
>       at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:285)
>       at 
> org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:121)
>       at org.apache.hadoop.fs.shell.Command.run(Command.java:192)
>       at org.apache.hadoop.fs.FsShell.run(FsShell.java:327)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97)
>       at org.apache.hadoop.fs.ozone.OzoneFsShell.execute(OzoneFsShell.java:92)
>       at 
> org.apache.hadoop.fs.ozone.OzoneFsShell.lambda$main$0(OzoneFsShell.java:86)
>       at 
> org.apache.hadoop.hdds.tracing.TracingUtil.executeInSpan(TracingUtil.java:205)
>       at 
> org.apache.hadoop.hdds.tracing.TracingUtil.executeInNewSpan(TracingUtil.java:195)
>       at 
> org.apache.hadoop.fs.ozone.OzoneFsShell.main(OzoneFsShell.java:85){noformat}
> Pretty misleading "FileSystem ofs://om does not support Erasure Coding", 
>  
> The reason being Ls -e relies on getContentSummary() to figure out whether a 
> path is replicated or not & We don't set the policy in case of ofs



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to