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

Remove unthrown IOException from TrashPolicy#initialize and #getInstance signatures

    Details

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

      Description

      TrashPolicy is marked as public & evolving, but its public API, specifically TrashPolicy.getInstance() has been changed in an incompatible way.
      1) The path parameter is removed in 3.0
      2) A new IOException is thrown in 3.0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                haibochen Haibo Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: