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

The constructor of Path should not take an empty URL as a parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Paths can no longer be constructed from a null or empty URI. This matches the behavior of the Path(String) constructor, which disallows null or empty Strings.

    Description

      The constructor of Path should not take an empty URL as a parameter, As discussed in HADOOP-10820, This JIRA is to change Path constructor at public Path(URI aUri) to check the empty URI and throw IllegalArgumentException for empty URI.

      Attachments

        1. HADOOP-10876.000.patch
          2 kB
          Zhihai Xu
        2. HADOOP-10876.001.patch
          3 kB
          Zhihai Xu

        Activity

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: