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

Remove unthrown IOException from TrashPolicy#initialize and #getInstance signatures

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8.0, 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha2
    • fs
    • 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

        1. HADOOP-13700.001.patch
          1 kB
          Andrew Wang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment