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 "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/04/22 06:05:00 UTC
[jira] [Resolved] (HDFS-8212)
DistributedFileSystem.createErasureCodingZone should pass schema in
FileSystemLinkResolver
[ https://issues.apache.org/jira/browse/HDFS-8212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhe Zhang resolved HDFS-8212.
-----------------------------
Resolution: Fixed
Fix Version/s: HDFS-7285
Hadoop Flags: Reviewed
> DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-8212
> URL: https://issues.apache.org/jira/browse/HDFS-8212
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Fix For: HDFS-7285
>
> Attachments: h8212_20150421.patch
>
>
> It current passes null and ignores the input schema.
> {code}
> public void createErasureCodingZone(final Path path, final ECSchema schema)
> throws IOException {
> Path absF = fixRelativePart(path);
> new FileSystemLinkResolver<Void>() {
> @Override
> public Void doCall(final Path p) throws IOException,
> UnresolvedLinkException {
> dfs.createErasureCodingZone(getPathName(p), null);
> return null;
> }
> ...
> }.resolve(this, absF);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)