Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3973 [Umbrella JIRA] JobHistoryServer performance improvements in YARN+MR
  3. MAPREDUCE-3944

JobHistory web services are slower then the UI and can easly overload the JH

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.23.1, 0.23.2
    • 0.23.2
    • mrv2
    • None
    • Reviewed

    Description

      When our first customer started using the Job History web services today the History Server ground to a halt. We found 250 Jetty threads stuck on the following stack trace.

         java.lang.Thread.State: BLOCKED (on object monitor)
              at org.apache.hadoop.mapreduce.v2.hs.JobHistory.getJob(JobHistory.java:898)
              - waiting to lock <0x00002aaab364ba60> (a org.apache.hadoop.mapreduce.v2.hs.JobHistory)
              at org.apache.hadoop.mapreduce.v2.hs.webapp.HsWebServices.getJobs(HsWebServices.java:188)
      

      HsWebServices.java:188 corresponds to the /mapreduce/jobs service.

      Looking at the code there are a number of optimizations that need to be done to improve its performance.

      Attachments

        1. MR-3944.txt
          27 kB
          Robert Joseph Evans
        2. MR-3944.txt
          33 kB
          Robert Joseph Evans

        Issue Links

          Activity

            People

              revans2 Robert Joseph Evans
              revans2 Robert Joseph Evans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: