[ https://issues.apache.org/jira/browse/HDFS-17781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liuguanghua updated HDFS-17781: ------------------------------- Description: Now when use hdfs oiv Web mode for offline analysis , the ec file's getContentSummary is wrong. It supports replicated file only. {code:java} data[3] += (curLength) * (f.getReplication()); {code} This PR is to fix this. was: Now when use fsimage tools for offline usage , the ec file getcontentsummary return wrong result. It support replicated files only. This RP support ec file getcontentsummary return correct result. > Fix webImageViewer getContentSummary return wrong result when inode is a ec > file > -------------------------------------------------------------------------------- > > Key: HDFS-17781 > URL: https://issues.apache.org/jira/browse/HDFS-17781 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: liuguanghua > Assignee: liuguanghua > Priority: Major > Labels: pull-request-available > > Now when use hdfs oiv Web mode for offline analysis , the ec file's > getContentSummary is wrong. It supports replicated file only. > {code:java} > data[3] += (curLength) * (f.getReplication()); {code} > > This PR is to fix this. > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org