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

rework heap management vars

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • scripts
    • Incompatible change
    • Hide
      <!-- markdown -->

      * HADOOP\_HEAPSIZE variable has been deprecated (It will still be honored if set, but expect it to go away in the future). In its place, HADOOP\_HEAPSIZE\_MAX and HADOOP\_HEAPSIZE\_MIN have been introduced to set Xmx and Xms, respectively.

      * The internal variable JAVA\_HEAP\_MAX has been removed.

      * Default heap sizes have been removed. This will allow for the JVM to use auto-tuning based upon the memory size of the host. To re-enable the old default, configure HADOOP\_HEAPSIZE_MAX="1g" in hadoop-env.sh.

      * All global and daemon-specific heap size variables now support units. If the variable is only a number, the size is assumed to be in megabytes.
      Show
      <!-- markdown --> * HADOOP\_HEAPSIZE variable has been deprecated (It will still be honored if set, but expect it to go away in the future). In its place, HADOOP\_HEAPSIZE\_MAX and HADOOP\_HEAPSIZE\_MIN have been introduced to set Xmx and Xms, respectively. * The internal variable JAVA\_HEAP\_MAX has been removed. * Default heap sizes have been removed. This will allow for the JVM to use auto-tuning based upon the memory size of the host. To re-enable the old default, configure HADOOP\_HEAPSIZE_MAX="1g" in hadoop-env.sh. * All global and daemon-specific heap size variables now support units. If the variable is only a number, the size is assumed to be in megabytes.

    Description

      Post-HADOOP-9902, we need to rework how heap is configured for small footprint machines, deprecate some options, introduce new ones for greater flexibility.

      Attachments

        1. HADOOP-10950-04.patch
          14 kB
          John Smith
        2. HADOOP-10950-03.patch
          13 kB
          Allen Wittenauer
        3. HADOOP-10950-02.patch
          13 kB
          Allen Wittenauer
        4. HADOOP-10950-01.patch
          13 kB
          Allen Wittenauer
        5. HADOOP-10950.patch
          13 kB
          Allen Wittenauer

        Issue Links

          Activity

            People

              pocky John Smith
              aw Allen Wittenauer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: