Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4971

Block report times from datanodes could converge to same time.


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.3
    • Component/s: None
    • Labels:
    • Hadoop Flags:
    • Release Note:
      A long (unexpected) delay at datanodes could make subsequent block reports from many datanode at the same time.


      Datanode block reports take quite a bit of memory to process at the namenode. After the inital report, DNs pick a random time to spread this load across at the NN. This normally works fine.

      Block reports are sent inside "offerService()" thread in DN. If for some reason this thread was stuck for long time (comparable to block report interval), and same thing happens on many DNs, all of them get back to the loop at the same time and start sending block report then and every hour at the same time.

      RPC server and clients in 0.18 can handle this situation fine. But since this is a memory intensive RPC it lead to large GC delays at the NN. We don't know yet why offerService therads seemed to be stuck, but DN should re-randomize it block report time in such cases.


        1. HADOOP-4971.patch
          1 kB
          Raghu Angadi
        2. HADOOP-4971.patch
          1 kB
          Raghu Angadi
        3. HADOOP-4971-branch-18.patch
          1.0 kB
          Raghu Angadi



            • Assignee:
              rangadi Raghu Angadi
              rangadi Raghu Angadi
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: