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

Yarn URL should include userinfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.2.0
    • api
    • None
    • Reviewed

    Description

      In the org.apache.hadoop.yarn.api.records.URL class, we don't have an userinfo as part of the URL. When converting a java.net.URI object into the YARN URL object in ConverterUtils.getYarnUrlFromURI() method, we will set uri host as the url host. If the uri has a userinfo part, the userinfo is discarded. This will lead to information loss if the original uri has the userinfo, e.g. foo://username:password@example.com will be converted to foo://example.com and username/password information is lost during the conversion.

      Attachments

        1. YARN-1215-trunk.2.patch
          4 kB
          Chuan Liu
        2. YARN-1215-trunk.patch
          2 kB
          Chuan Liu

        Activity

          People

            chuanliu Chuan Liu
            chuanliu Chuan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: