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

Add option to disable JVMPauseMonitor across services

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.8.0
    • Fix Version/s: None
    • Component/s: performance, test
    • Labels:
    • Environment:

      JVMs with miniHDFS and miniYarn clusters


      Now that the YARN and HDFS services automatically start a JVM pause monitor, if you start up the mini HDFS and YARN clusters, with history server, you are spinning off 5 + threads, all looking for JVM pauses, all printing things out when it happens.

      We do not need these monitors in minicluster testing; they merely add load and noise to tests.

      Rather than retrofit new options everywhere, how about having a "jvm.pause.monitor.enabled" flag (default true), which, when set, starts off the monitor thread.

      That way, the existing code is unchanged, there is always a JVM pause monitor for the various services —it just isn't spinning up threads.


        1. HADOOP-12855-001.patch
          3 kB
          John Zhuge
        2. HADOOP-12855-002.patch
          3 kB
          John Zhuge
        3. HADOOP-12855-003.patch
          3 kB
          John Zhuge
        4. HADOOP-12855-004.patch
          12 kB
          John Zhuge
        5. HADOOP-12855-005.patch
          12 kB
          John Zhuge
        6. HADOOP-12855-option-001.patch
          10 kB
          John Zhuge
        7. HADOOP-12855-option-002.patch
          12 kB
          John Zhuge

        Issue Links



            • Assignee:
              jzhuge John Zhuge
              stevel@apache.org Steve Loughran


              • Created:

                Issue deployment