hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7872) Erasure Coding: INodeFile.dumpTreeRecursively() supports to print striped blocks
Date Wed, 30 Sep 2015 16:01:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937318#comment-14937318
] 

Hudson commented on HDFS-7872:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8548 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8548/])
HDFS-7872. Erasure Coding: INodeFile.dumpTreeRecursively() supports to (zhezhang: rev 39a0a85fb77872911089aac3f7792ab48d9eca68)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java


> Erasure Coding: INodeFile.dumpTreeRecursively() supports to print striped blocks
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-7872
>                 URL: https://issues.apache.org/jira/browse/HDFS-7872
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Takuya Fukudome
>            Assignee: Takuya Fukudome
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-7872.1.patch, HDFS-7872.2.patch
>
>
> 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)

Mime
View raw message