[
https://issues.apache.org/jira/browse/HDFS-15473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163723#comment-17163723
]
Wei-Chiu Chuang commented on HDFS-15473:
----------------------------------------
Ideally, you want to use an iterator to return partial results instead of
returning all in an array.
The most number of snapshots in a production cluster that I have seen is ~ 10k
range. Returning a few thousand snapshot entries may cause a short burst of
requests in queue.
Also, can you add a metrics for the number of total snapshots?
> Add listSnapshots command to list all snapshots
> -----------------------------------------------
>
> Key: HDFS-15473
> URL: https://issues.apache.org/jira/browse/HDFS-15473
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Hemanth Boyina
> Assignee: Hemanth Boyina
> Priority: Major
> Attachments: HDFS-15473.001.patch
>
>
> In a cluster where snapshots are highly used , it will benefit to have a
> command to list all the snapshots under root
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]