You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/01/31 18:02:51 UTC

[jira] (HDFS-10983) OIV tool should make an EC file explicit

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

Andrew Wang commented on HDFS-10983:
------------------------------------

Hi Manoj,

We reused the replication field so the in-memory representation would be compact. You're right though that this isn't necessary for the on-disk representation; {{replication}} is an optional field, and if we add another optional field for the EC policy, it won't be any extra space.

I'm okay with doing this, though we should do it in another JIRA since this one is oriented toward OIV. Let's make sure to have the appropriate asserts in place to make sure both fields aren't set for the same INodeField.

> OIV tool should make an EC file explicit
> ----------------------------------------
>
>                 Key: HDFS-10983
>                 URL: https://issues.apache.org/jira/browse/HDFS-10983
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Manoj Govindassamy
>              Labels: hdfs-ec-3.0-nice-to-have
>
> The OIV tool's webhdfs interface does not print if a file is striped or not.
> Also, it prints the file's EC policy ID as replication factor, which is inconsistent to the output of a typical webhdfs call to the cluster, which always shows replication factor of 0 for EC files.
> Not just webhdfs, but delimiter output does not print if a file is stripped or not either.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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