Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      This change introduces DirectMemory reporting to the RegionServer status page. Oracle JDK6 (1.6.0_31 in my test) doesn't expose "java.nio:type=BufferPool,name=direct", so DirectMemoryUtils#getDirectMemoryUsage (and thus the change to rs-status#memoryStats) reports 0 on that environment, even when DirectMemory is being consumed.
      Show
      This change introduces DirectMemory reporting to the RegionServer status page. Oracle JDK6 (1.6.0_31 in my test) doesn't expose "java.nio:type=BufferPool,name=direct", so DirectMemoryUtils#getDirectMemoryUsage (and thus the change to rs-status#memoryStats) reports 0 on that environment, even when DirectMemory is being consumed.

      Description

      SlabCache incorrectly reports block count and could do a better job reporting free size. MetricsRegionServerWrapperImpl incorrectly reports block cache count. Expose Direct Memory stats on RegionServer WebUI.

      Also clean up javadoc on BlockCache interface methods, and whitespace in cache-related classes.

      1. HBASE-10116.00.patch
        15 kB
        Nick Dimiduk
      2. HBASE-10116.addendum.00.patch
        0.9 kB
        Nick Dimiduk

        Activity

        Enis Soztutar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Nick Dimiduk made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Nick Dimiduk made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Nick Dimiduk made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Nick Dimiduk made changes -
        Attachment HBASE-10116.addendum.00.patch [ 12618451 ]
        Nick Dimiduk made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Release Note This change introduces DirectMemory reporting to the RegionServer status page. Oracle JDK6 (1.6.0_31 in my test) doesn't expose "java.nio:type=BufferPool,name=direct", so DirectMemoryUtils#getDirectMemoryUsage (and thus the change to rs-status#memoryStats) reports 0 on that environment, even when DirectMemory is being consumed.
        Resolution Fixed [ 1 ]
        Nick Dimiduk made changes -
        Fix Version/s 0.99.0 [ 12325675 ]
        Nick Dimiduk made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Nick Dimiduk made changes -
        Field Original Value New Value
        Attachment HBASE-10116.00.patch [ 12617949 ]
        Nick Dimiduk created issue -

          People

          • Assignee:
            Nick Dimiduk
            Reporter:
            Nick Dimiduk
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development