[ https://issues.apache.org/jira/browse/HDFS-7677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292311#comment-14292311 ]
Colin Patrick McCabe commented on HDFS-7677: -------------------------------------------- I think we should support this, just for consistency with the other operations. But keep in mind that symlinks are hard-disabled in branch-2 because of security and other issues, and that's probably not going to change any time soon. See HADOOP-10019 for details. > DistributedFileSystem#truncate should resolve symlinks > ------------------------------------------------------ > > Key: HDFS-7677 > URL: https://issues.apache.org/jira/browse/HDFS-7677 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Yi Liu > Assignee: Yi Liu > Attachments: HDFS-7677.001.patch > > > We should resolve the symlinks in DistributedFileSystem#truncate as we do for > {{create}}, {{open}}, {{append}} and so on, I don't see any reason not > support it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)