hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-12631) Ozone: ContainerStorageLocation#scmUsage should count only SCM usage
Date Wed, 11 Oct 2017 02:46:00 GMT

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

Xiaoyu Yao edited comment on HDFS-12631 at 10/11/17 2:45 AM:

cc: [~anu], the patch will ensure the node report has the accurate DF/DU of container location
when hdfs datanode and scm datanode runing side-by-side.

was (Author: xyao):
cc: [~anu]

> Ozone: ContainerStorageLocation#scmUsage should count only SCM usage 
> ---------------------------------------------------------------------
>                 Key: HDFS-12631
>                 URL: https://issues.apache.org/jira/browse/HDFS-12631
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: scm
>    Affects Versions: HDFS-7240
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>              Labels: ozoneMerge
>         Attachments: HDFS-12631-HDFS-7240.001.patch
> Currently the ContainerStorageLocation#ContainerStorageLocation does not resolve to the
actual container prefix before passing it to CachingGetSpaceUsed for calculation. As a result
of that, if SCM datanode is running along with HDFS datanode, the HDFS datanode usage will
be included in scmUsage too, which is incorrect. This ticket is opened to fix it. 
> {code}
>     this.scmUsage = new CachingGetSpaceUsed.Builder().setPath(dataDir)
>         .setConf(conf)
>         .setInitialUsed(loadScmUsed())
>         .build();
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message