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

FS Contract tests don't report FS initialization errors well

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If the FileSystem.initialize() method of an FS fails with an IllegalArgumentException, the FS contract tests assume this is related to the URI syntax and raises a new exception 'invalid URI'+ fsURI, retaining the real cause only as error text in the nested exception.

      the exception text should be included in the message thrown, and cause changed to indicate that it's initialization related.

        Attachments

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: