Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9881

DistributedFileSystem#getTrashRoot returns incorrect path for encryption zones

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      getTrashRoots is missing a "/" in the path concatenation, so ends up putting files into a directory named "/ez/.Trashandrew" rather than "/ez/.Trash/andrew"

        Attachments

        1. HDFS-9881.002.patch
          2 kB
          Andrew Wang
        2. HDFS-9881.001.patch
          2 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: