[ 
https://issues.apache.org/jira/browse/HDFS-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786811#comment-13786811
 ] 

Colin Patrick McCabe commented on HDFS-5303:
--------------------------------------------

I don't think this is a problem.  Symlinks are just references to things, not 
the things themselves.

Every other snapshotting filesystem (btrfs, ZFS, etc) allows snapshots to 
contain symlinks to paths outside the snapshot.  We currently do the same, and 
that should be fine.

> A symlink within a snapshot pointing to a target outside the snapshot root 
> can cause the snapshot contents to appear to change.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5303
>                 URL: https://issues.apache.org/jira/browse/HDFS-5303
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Chris Nauroth
>
> A snapshot is supposed to represent the point-in-time state of a directory.  
> However, if the directory contains a symlink that targets a file outside the 
> snapshot root, then the snapshot contents will appear to change if someone 
> changes the target file (i.e. delete or append).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to