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

DistributedFileSystem#getTrashRoots should skip encryption zone that does not have .Trash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      HDFS-8831 added trash support for encryption zones. For encryption zone that does not have .Trash created yet, DistributedFileSystem#getTrashRoots should skip rather than call listStatus() and break by FileNotFoundException. I will post a patch for the fix shortly.

      Attachments

        1. HDFS-10344.00.patch
          3 kB
          Xiaoyu Yao

        Activity

          People

            xyao Xiaoyu Yao
            nmaheshwari Namit Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: