You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:58:07 UTC

[jira] [Commented] (HDFS-12631) Ozone: ContainerStorageLocation#scmUsage should count only SCM usage

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

Hudson commented on HDFS-12631:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12631. Ozone: ContainerStorageLocation#scmUsage should count only (nanda: rev 87194bb39c99c82c63718dfcbe7be890c64e365b)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerStorageLocation.java


> 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
>            Priority: Major
>              Labels: ozoneMerge
>         Attachments: HDFS-12631-HDFS-7240.001.patch, HDFS-12631-HDFS-7240.002.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
(v7.6.3#76005)

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