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

[UI2] yarn-container-log URI need to be encoded to avoid potential misuses

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently yarn-container-log (UI2 - Nodes - List of Containers - log file) creates url with node scheme (http) and nodeHttpAddress. This does not work with Knox Gateway https url. The logic to construct url can be improved to accept both normal and knox case. The similar way is used in Applications -> Logs Section.

      And also UI2 - Nodes - List of Containers - log file does not have pagination support for log file.

       

      Screenshot of Problematic Page : Knox Url - UI2 - Nodes - List of Containers - log file

       

       

        Attachments

        1. Screen Shot 2019-08-08 at 12.54.40 PM.png
          352 kB
          Prabhu Joseph
        2. Screen Shot 2019-08-08 at 12.55.03 PM.png
          280 kB
          Prabhu Joseph
        3. Screen Shot 2019-08-08 at 2.51.46 PM.png
          277 kB
          Prabhu Joseph
        4. Screen Shot 2019-08-08 at 3.03.16 PM.png
          164 kB
          Prabhu Joseph
        5. YARN-9715.001.patch
          11 kB
          Akhil PB
        6. YARN-9715.002.patch
          11 kB
          Akhil PB

          Issue Links

            Activity

              People

              • Assignee:
                akhilpb Akhil PB
                Reporter:
                prabhujoseph Prabhu Joseph
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: