Description
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.