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

Rakesh R commented on HDFS-7949:
--------------------------------

Thats good point. I agree exposing a static function to compute this. This 
function takes an argument 
{{org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeFile}}, 
I hope there won't be any concern of introducing module/package dependency 
bewteen {{BlockInfo}} and {{FsImageProto}}. 
bq.Could you also add a test for the change?
Sure, I'll add unit test case.

> WebImageViewer need support file size calculation with striped blocks
> ---------------------------------------------------------------------
>
>                 Key: HDFS-7949
>                 URL: https://issues.apache.org/jira/browse/HDFS-7949
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Hui Zheng
>            Assignee: Rakesh R
>            Priority: Minor
>         Attachments: HDFS-7949-001.patch
>
>
> The file size calculation should be changed when the blocks of the file are 
> striped in WebImageViewer.



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

Reply via email to