[ https://issues.apache.org/jira/browse/HDFS-13489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472145#comment-16472145 ]
Daryn Sharp commented on HDFS-13489: ------------------------------------ *Please* pay attention to security. Not not call {{getINodesInPath}}! This is bypasses all permission checks. See the javadoc: {code} * Resolves the given path into inodes. Reserved paths are not handled and * permissions are not verified. Client supplied paths should be * resolved via {@link #resolvePath(FSPermissionChecker, String, DirOp)}. * This method should only be used by internal methods. {code} Use {{fsd.resolvePath(pc, src, DirOp.READ_LINK)}}. > 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: Harkrishn Patro > Priority: Major > Attachments: HDFS-13489.001.patch, HDFS-13489.002.patch, > HDFS-13489.003.patch, HDFS-13489.004.patch, HDFS-13489.005.patch, > HDFS-13489.006.patch, HDFS-13489.007.patch > > > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org