You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/10/12 19:11:00 UTC

[jira] [Commented] (HDDS-7208) Erasure coding and encryption are not flagged on FileStatus

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

Uma Maheswara Rao G commented on HDDS-7208:
-------------------------------------------

Thanks for the details [~MikaelSmith], how these APIs are getting used at Impala side.

> Erasure coding and encryption are not flagged on FileStatus
> -----------------------------------------------------------
>
>                 Key: HDDS-7208
>                 URL: https://issues.apache.org/jira/browse/HDDS-7208
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: EC
>    Affects Versions: 1.2.1
>            Reporter: Michael Smith
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> Hadoop FileStatus accepts flags for erasure coding and encryption [on creation|https://hadoop.apache.org/docs/stable/api/org/apache/hadoop/fs/FileStatus.html#FileStatus-long-boolean-int-long-long-long-org.apache.hadoop.fs.permission.FsPermission-java.lang.String-java.lang.String-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-boolean-boolean-]. Impala relies on {{FileStatus.isErasureCoded}} to make scheduling decisions and determine whether a file is local or remote.
> Ozone doesn't use this signature, so isErasureCoded and isEncrypted always return false.



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

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