[ https://issues.apache.org/jira/browse/HDFS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759429#action_12759429 ]
dhruba borthakur commented on HDFS-254: --------------------------------------- Unit tests to verify the following: - distcp should not follow symlinks by default, instead copy the link only - symlinks contribute towards namespace quotas - symlinks do not consume disk space quota - fsck is reporting the right number of symlinks - lsr does not follow symlinks - rmr does not follow symlinks - dfs -dus, dfs -count does not follow symlinks - setquota, getquota on a symlink raises an exception - max length of the name of a symlink is the same as the max length of a regular file - creation of a symlink to ".." and then accessing a file in that path should bail out smoothly > Add more unit test for HDFS symlinks > ------------------------------------ > > Key: HDFS-254 > URL: https://issues.apache.org/jira/browse/HDFS-254 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: dhruba borthakur > Assignee: Eli Collins > > HADOOP-4044 introduces symbolic links in HDFS. That patch has some unit tests > associated with it. The aim of this JIRA is to add more unit tests (including > negative tests): > deleting a symlink that points to a file > deleting a symlink that points to a directory > symlink to a symlink > any test cases with relative links > delete linked to file, but not link, access link > delete linked to file, recreate the same file, access link > links to other filesystems > archives containing links > rename a file to an existing symlink > rename a symlink to an existing file > setTimes and setReplication cases should check the result on both the symlink > and linked to file > tests involving lack of permissions to create symlinks > tests that try to createSymlinks with filesystems that don't support them > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.