Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-3087

[Collector implementation] the REST server (web server) for per-node collector does not work if it runs inside node manager

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • timelineserver
    • None
    • Reviewed

    Description

      This is related to YARN-3030. YARN-3030 sets up a per-node timeline aggregator and the associated REST server. It runs fine as a standalone process, but does not work if it runs inside the node manager due to possible collisions of servlet mapping.

      Exception:

      org.apache.hadoop.yarn.webapp.WebAppException: /v2/timeline: controller for v2 not found
      	at org.apache.hadoop.yarn.webapp.Router.resolveDefault(Router.java:232)
      	at org.apache.hadoop.yarn.webapp.Router.resolve(Router.java:140)
      	at org.apache.hadoop.yarn.webapp.Dispatcher.service(Dispatcher.java:134)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
      	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
      	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
      	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:900)
      	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:834)
      	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)
      ...
      

      Attachments

        1. YARN-3087-022315.patch
          8 kB
          Li Lu
        2. YARN-3087-022515.patch
          23 kB
          Li Lu
        3. YARN-3087-022615.patch
          20 kB
          Li Lu

        Issue Links

          Activity

            People

              gtcarrera9 Li Lu
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: