You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kai Sasaki (JIRA)" <ji...@apache.org> on 2016/03/15 10:03:33 UTC

[jira] [Resolved] (HDFS-9992) CLONE - Erasure Coding: INodeFile.dumpTreeRecursively() supports to print striped blocks

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

Kai Sasaki resolved HDFS-9992.
------------------------------
    Resolution: Invalid

> CLONE - Erasure Coding: INodeFile.dumpTreeRecursively() supports to print striped blocks
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-9992
>                 URL: https://issues.apache.org/jira/browse/HDFS-9992
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: dragon
>            Assignee: Takuya Fukudome
>             Fix For: HDFS-7285
>
>
> We need to let dumpTreeRecursively be able to print striped blocks (or maybe just the first striped block).
> {code}
>   @Override
>   public void dumpTreeRecursively(PrintWriter out, StringBuilder prefix,
>       final int snapshotId) {
>     super.dumpTreeRecursively(out, prefix, snapshotId);
>     out.print(", fileSize=" + computeFileSize(snapshotId));
>     // only compare the first block
>     out.print(", blocks=");
>     out.print(blocks == null || blocks.length == 0? null: blocks[0]);
>     // TODO print striped blocks
>     out.println();
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)