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

ContainerLogsPage web UI should not have meta-refresh

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Currently, When we try to find the container logs for the finished application, it will re-direct to the url which we re-configured for yarn.log.server.url in yarn-site.xml. But in ContainerLogsPage, we are using meta-refresh:

              set(TITLE, join("Redirecting to log server for ", $(CONTAINER_ID)));
              html.meta_http("refresh", "1; url=" + redirectUrl);
      

      which is not good for some browsers which need to enable the meta-refresh in their security setting, especially for IE which meta-refresh is considered a security hole.

      Attachments

        1. YARN-3654.1.patch
          11 kB
          Xuan Gong
        2. YARN-3654.2.patch
          11 kB
          Xuan Gong

        Issue Links

          Activity

            People

              xgong Xuan Gong
              xgong Xuan Gong
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: