Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5659

getPathFromYarnURL should use standard methods

    Details

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

      Description

      getPathFromYarnURL does some string shenanigans where standard ctors should suffice.
      There are also bugs in it e.g. passing an empty scheme to the URI ctor is invalid, null should be used.

        Attachments

        1. YARN-5659.patch
          1 kB
          Sergey Shelukhin
        2. YARN-5659.05.patch
          6 kB
          Sergey Shelukhin
        3. YARN-5659.05.patch
          7 kB
          Sergey Shelukhin
        4. YARN-5659.04.patch
          6 kB
          Sergey Shelukhin
        5. YARN-5659.04.patch
          6 kB
          Sergey Shelukhin
        6. YARN-5659.03.patch
          6 kB
          Sergey Shelukhin
        7. YARN-5659.02.patch
          6 kB
          Sergey Shelukhin
        8. YARN-5659.01.patch
          1 kB
          Sergey Shelukhin

          Activity

            People

            • Assignee:
              sershe Sergey Shelukhin
              Reporter:
              sershe Sergey Shelukhin
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: