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

FS Contract tests don't report FS initialization errors well

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • 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

        1. HADOOP-13125-001.patch
          0.9 kB
          Steve Loughran

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: