XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      pifta found if we delete file with Hadoop shell, namely hadoop fs -rm, without -skipTrash option, the operation would fail in OFS due to the client is renaming the file to /user/<username>/.Trash/ because renaming across different buckets is not allowed in Ozone. (Unless the file happens to be under /user/<username>/, apparently.)

      We could override getTrashRoot() in BasicOzoneFileSystem to a dir under the same bucket to mitigate the problem. Thanks umamaheswararao for the suggestion.

      This raises one more problem though: We need to implement trash clean up on OM. Opened HDDS-3575 for this.

      CC arp bharat

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: