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

Hudson commented on HDFS-13223:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13782 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/13782/])
HDFS-13223. Reduce DiffListBySkipList memory usage.  Contributed by (szetszwo: 
rev 871d0d39faa2c4c992d61ed20497dcf6c3faa376)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestDiffListBySkipList.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/DirectoryDiffListFactory.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/DiffListBySkipList.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/SnapshotManager.java


> Reduce DiffListBySkipList memory usage
> --------------------------------------
>
>                 Key: HDFS-13223
>                 URL: https://issues.apache.org/jira/browse/HDFS-13223
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: snapshots
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Shashikant Banerjee
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: HDFS-13223.001.patch, HDFS-13223.002.patch, 
> HDFS-13223.003.patch, HDFS-13223.004.patch, HDFS-13223.004_commit.patch
>
>
> There are several ways to reduce memory footprint of DiffListBySkipList.
> - Move maxSkipLevels and skipInterval to DirectoryDiffListFactory.
> - Use an array for skipDiffList instead of List.
> - Do not store the level 0 element in skipDiffList.
> - Do not create new ChildrenDiff for the same value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to