Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5770

Redirection from AM-URL is broken with HTTPS_ONLY policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None
    • Reviewed

    Description

      Steps to reproduce:

      1) Run a sleep job
      2) Run: yarn application -list command to find AM URL.
      root@host1:~# yarn application -list
      Total number of applications (application-types: [] and states: SUBMITTED, ACCEPTED, RUNNING):1
      Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL
      application_1383251398986_0003 Sleep job MAPREDUCE hdfs default RUNNING UNDEFINED 5% http://host1:40653

      3) Try to access "http://host1:40653/ws/v1/mapreduce/info" url.

      This URL redirects to http://RM_host:RM_https_port/proxy/application_1383251398986_0003/ws/v1/mapreduce/info

      Here, Http protocol is used with HTTPS port for RM.

      The expected Url is https://RM_host:RM_https_port/proxy/application_1383251398986_0003/ws/v1/mapreduce/info

      Attachments

        1. YARN-1740.4.patch
          15 kB
          Jian He
        2. YARN-1740.3.patch
          13 kB
          Jian He
        3. YARN-1740.2.patch
          11 kB
          Jian He
        4. YARN-1740.1.patch
          7 kB
          Jian He

        Issue Links

          Activity

            People

              jianhe Jian He
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: