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

Siyao Meng updated HDFS-14686:
------------------------------
    Description: 
The root cause is that *FSOperations#contentSummaryToJSON* doesn't parse 
*ContentSummary.erasureCodingPolicy* into the json.

The expected behavior is that *HttpFSFileSystem#getErasureCodingPolicy* should 
at least return "" (empty string, for directories or symlinks), or "Replicated" 
(for non-EC files), "RS-6-3-1024k", etc.

  was:
The root cause is that FSOperations#contentSummaryToJSON doesn't parse 
ContentSummary.erasureCodingPolicy into the json.

The expected behavior is that HttpFSFileSystem#getErasureCodingPolicy should at 
least return "" (empty string, for directories or symlinks), or "Replicated" 
(for non-EC files), "RS-6-3-1024k", etc.


> HttpFS: HttpFSFileSystem#getErasureCodingPolicy always returns null
> -------------------------------------------------------------------
>
>                 Key: HDFS-14686
>                 URL: https://issues.apache.org/jira/browse/HDFS-14686
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: httpfs
>    Affects Versions: 3.2.0
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> The root cause is that *FSOperations#contentSummaryToJSON* doesn't parse 
> *ContentSummary.erasureCodingPolicy* into the json.
> The expected behavior is that *HttpFSFileSystem#getErasureCodingPolicy* 
> should at least return "" (empty string, for directories or symlinks), or 
> "Replicated" (for non-EC files), "RS-6-3-1024k", etc.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to