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

Control MaxDirectMemorySize in the same manner as heap size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.7
    • 0.99.2
    • scripts
    • None
    • CentOS 6

    • Reviewed
    • Adds new HBASE_OFFHEAPSIZE environment variable to ./bin/hbase. Set the max offheap memory java will request with this one variable. It combines with HBASE_HEAPSIZE to determine the max amount of ram that the JVM can request.

    Description

      It would make it much easier on us if we could manage MaxDirectMemorySize in the same way as heap. This patch allows that to happen.

      Note: I have not tested the *.cmd modifications as I don't have a Windows box (at the moment, can test at home) but look like they should work (famous last words).

      Attachments

        Activity

          People

            patrickwhite Patrick White
            patrickwhite Patrick White
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: