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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • 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. YARN-9715.002.patch
          11 kB
          Akhil PB
        2. Screen Shot 2019-08-08 at 3.03.16 PM.png
          164 kB
          Prabhu Joseph
        3. Screen Shot 2019-08-08 at 2.51.46 PM.png
          277 kB
          Prabhu Joseph
        4. YARN-9715.001.patch
          11 kB
          Akhil PB
        5. Screen Shot 2019-08-08 at 12.55.03 PM.png
          280 kB
          Prabhu Joseph
        6. Screen Shot 2019-08-08 at 12.54.40 PM.png
          352 kB
          Prabhu Joseph

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: