[
https://issues.apache.org/jira/browse/HDFS-12257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179483#comment-16179483
]
Andrew Wang commented on HDFS-12257:
------------------------------------
Hi Huafeng, one higher level question, should we add a RemoteIterator paginated
version of this API and use it instead? I'd prefer not to add new APIs that
return an array, since it's possible that there could be many snapshottable
dirs.
> Expose getSnapshottableDirListing as a public API in HdfsAdmin
> --------------------------------------------------------------
>
> Key: HDFS-12257
> URL: https://issues.apache.org/jira/browse/HDFS-12257
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: snapshots
> Affects Versions: 2.6.5
> Reporter: Andrew Wang
> Assignee: Huafeng Wang
> Attachments: HDFS-12257.001.patch, HDFS-12257.002.patch
>
>
> Found at HIVE-16294. We have a CLI API for listing snapshottable dirs, but no
> programmatic API. Other snapshot APIs are exposed in HdfsAdmin, I think we
> should expose listing there as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]