Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1648

heap usage and limit reporting doesn't work as expected when using G1 GC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • None
    • Linux Centos x86_64 5.3, Sun JDK 1.6.0_14 (HotSpot 64-Bit Server VM build 14.0-b16)

    Description

      Getting some early experience with the G1 GC.

      Running with -Xmx1000m and HBASE_OPTS set to "-XX:+UnlockExperimentalVMOpts -XX:+UseG1GC". Regionserver heap use reports are not of much use:

      hbase(main):001:0> status 'simple'
      3 live servers
          test3:60020 1247389283042
              requests=0, regions=1, usedHeap=0, maxHeap=41
          test2:60020 1247389219994
              requests=0, regions=1, usedHeap=0, maxHeap=41
          test4:60020 1247389324563
              requests=0, regions=2, usedHeap=0, maxHeap=41
      0 dead servers
      

      top is about right:

        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
      23988 hadoop    24   0 1492m  98m  10m S  0.0  2.5   0:02.65 java
      

      Incidentally, don't try -XX:+UseG1GC and -XX:+DoEscapeAnalysis together or the JVM will rapidly segfault.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: