[ https://issues.apache.org/jira/browse/HDFS-12257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181865#comment-16181865 ]
Huafeng Wang commented on HDFS-12257: ------------------------------------- Hi Andrew, right now the DistributributedFileSystem and DFSClient both have the API that returns an array. I agree with you and if we proceed with your idea, should we deprecate these old API? > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org