Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6236

clean-up Trash.moveToTrash() code. Should throw exception instead of returning false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fs
    • None

    Description

      In case of errors it should throw an exception instead of returning false.
      One valid case is when interval is 0 (trash disabled), but that could be moved to a separate method isEnabled().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boryas Boris Shkolnik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: