[
https://issues.apache.org/jira/browse/HDFS-9992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinayakumar B deleted HDFS-9992:
--------------------------------
> 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)