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

Shashikant Banerjee commented on HDFS-13173:
--------------------------------------------

Patch v1 plugs in the code to store Directory snapshot diffs in the skip list 
based on the config value of maxSkipLevels provided.

By default, the config value is set to 0, and hence skip list won't be used to 
maintain the snapshot diffs for directories. If the value of maxSkipLevels is 
set to greater than 0, skipList will be used instead of arrayList for storing 
the directory snapshot diffs.

> Replace ArrayList with DirectoryDiffList(SnapshotSkipList) to store 
> DirectoryDiffs
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-13173
>                 URL: https://issues.apache.org/jira/browse/HDFS-13173
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Major
>         Attachments: HDFS-13173.001.patch
>
>
> This Jira will replace the existing ArrayList with DirectoryDiffList to store 
> directory diffs for snapshots based on the config value of maxSkipLevels. If 
> the config specified is set to greater than 0, SnapshotSkipList will be used 
> to store DirectoryDiffs  else ArrayList will be used. The config value is set 
> to 0 by default.



--
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