hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4635) Move BlockManager#computeCapacity to LightWeightGSet
Date Mon, 25 Mar 2013 22:29:15 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suresh Srinivas updated HDFS-4635:
----------------------------------

    Attachment: HDFS-4635.patch

Attached patch has the following changes:
# Moves computeCapacity to the LightWeightGSet
# Makes that method generic to computer any given percentage instead of 2%
# Added many unit tests for invalid values and various set of valid values.
                
> Move BlockManager#computeCapacity to LightWeightGSet
> ----------------------------------------------------
>
>                 Key: HDFS-4635
>                 URL: https://issues.apache.org/jira/browse/HDFS-4635
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-4635.patch
>
>
> The computeCapacity in BlockManager that calculates the LightWeightGSet capacity as the
percentage of total JVM memory should be moved to LightWeightGSet. This helps in other maps
that are based on the GSet to make use of the same functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message