[
https://issues.apache.org/jira/browse/HDFS-13489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445980#comment-16445980
]
Wei-Chiu Chuang commented on HDFS-13489:
----------------------------------------
Thanks for filing the issue. You should be able to use
{{SnapshotManager#getSnapshottableRoot()}} for the purpose. But I guess you
want to expose a client visible API?
> Get base snapshotable path if exists for a given path
> -----------------------------------------------------
>
> Key: HDFS-13489
> URL: https://issues.apache.org/jira/browse/HDFS-13489
> Project: Hadoop HDFS
> Issue Type: Task
> Components: hdfs
> Reporter: Harkrishn Patro
> Assignee: Gabor Bota
> Priority: Major
>
> Currently, hdfs only lists the snapshotable paths in the filesystem. This
> feature would add the functionality of figuring out if a given path is
> snapshotable or not. If yes, it would return the base snapshotable path.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]