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-12958) Ozone: remove setAllocatedBytes method in ContainerInfo
Date Thu, 26 Apr 2018 21:57:06 GMT

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

Hudson commented on HDFS-12958:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14070 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14070/])
HDFS-12958. Ozone: remove setAllocatedBytes method in ContainerInfo. (omalley: rev 87b7774488f6e8b6912244fae1ec5bcac4f85957)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
* (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/scm/container/common/helpers/ContainerInfo.java

> Ozone: remove setAllocatedBytes method in ContainerInfo
> -------------------------------------------------------
>                 Key: HDFS-12958
>                 URL: https://issues.apache.org/jira/browse/HDFS-12958
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Minor
>         Attachments: HDFS-12958-HDFS-7240.001.patch
> We may want to remove {{setAllocatedBytes}} method from {{ContainerInfo}} and we keep
all fields of {{ContainerInfo}} immutable, such that client won't accidentally change {{ContainerInfo}}
and rely on the changed instance.
> An alternative of having {{setAllocatedBytes}} is to always create a new {{ContainerInfo}}
instance whenever it needs to be changed.
> This is based on [this comment|https://issues.apache.org/jira/browse/HDFS-12751?focusedCommentId=16299750&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16299750]
from HDFS-12751.

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