[
https://issues.apache.org/jira/browse/HDFS-13512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460156#comment-16460156
]
Ajay Kumar edited comment on HDFS-13512 at 5/1/18 9:07 PM:
-----------------------------------------------------------
[~shahrs87] Our initial plan was to get policy name without wiring more data,
specially seeing the concerns around redundancy in [HDFS-11394], but since your
earlier feedback was to serialize the whole policy that is the approach we are
taking now. Could you plz share your take on this and any concerns you have now?
was (Author: ajayydv):
[~shahrs87] Our initial plan was to get policy name without wiring more data,
specially seeing the concerns around redundancy in [HDFS-11394], but since your
earlier feedback was to serialize the whole policy that is the approach we are
taking now.
> WebHdfs getFileStatus doesn't return ecPolicy
> ---------------------------------------------
>
> Key: HDFS-13512
> URL: https://issues.apache.org/jira/browse/HDFS-13512
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Major
> Attachments: HDFS-13512.00.patch, HDFS-13512.01.patch,
> HDFS-13512.02.patch, HDFS-13512.03.patch, HDFS-13512.04.patch,
> HDFS-13512.05.patch
>
>
> Currently LISTSTATUS call to WebHdfs returns a json. These jsonArray elements
> do have the ecPolicy name.
> But when WebHdfsFileSystem converts it back into a FileStatus object, the
> ecPolicy is not added. This is because the json contains only the ecPolicy
> name and this name is not sufficient to decode it back to ErasureCodingPolicy
> object.
> While converting json back to HdfsFileStatus we should set ecPolicyName
> whenever it is set for give file/dir.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]