Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 0.23.2
    • Fix Version/s: 0.23.2
    • Component/s: mrv2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Robert Joseph Evans created issue -
          Robert Joseph Evans made changes -
          Field Original Value New Value
          Link This issue depends on MAPREDUCE-3954 [ MAPREDUCE-3954 ]
          Robert Joseph Evans made changes -
          Attachment MR-3944.txt [ 12517109 ]
          Robert Joseph Evans made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.23.2, 0.24.0 [ 12319851, 12317654 ] 0.24.0, 0.23.2 [ 12317654, 12319851 ]
          Vinod Kumar Vavilapalli made changes -
          Parent MAPREDUCE-3973 [ 12545239 ]
          Issue Type Bug [ 1 ] Sub-task [ 7 ]
          Robert Joseph Evans made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Target Version/s 0.23.2, 0.24.0 [ 12319851, 12317654 ] 0.24.0, 0.23.2 [ 12317654, 12319851 ]
          Robert Joseph Evans made changes -
          Attachment MR-3944.txt [ 12517259 ]
          Robert Joseph Evans made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.23.2, 0.24.0 [ 12319851, 12317654 ] 0.24.0, 0.23.2 [ 12317654, 12319851 ]
          Siddharth Seth made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 0.23.2, 0.24.0 [ 12319851, 12317654 ] 0.24.0, 0.23.2 [ 12317654, 12319851 ]
          Fix Version/s 0.23.2 [ 12319851 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue depends on MAPREDUCE-3954 [ MAPREDUCE-3954 ]
          Gavin made changes -
          Link This issue depends upon MAPREDUCE-3954 [ MAPREDUCE-3954 ]

            People

            • Assignee:
              Robert Joseph Evans
              Reporter:
              Robert Joseph Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development