Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3107 HDFS truncate
  3. HDFS-7677

DistributedFileSystem#truncate should resolve symlinks

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode, namenode
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-7677.002.patch
          3 kB
          Yi Liu
        2. HDFS-7677.001.patch
          3 kB
          Yi Liu

        Activity

          People

            hitliuyi Yi Liu
            hitliuyi Yi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: