Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.1
    • Component/s: CSD
    • Labels:
    • Rank:
      1|hzzcjb:

      Description

      The heapsize is not set when running the upgradeTool.

      The configuration master_java_heap exists which gets applied to the master process startup. When running upgradeTool, it is launched as if it were master, except the -env.sh file is never sourced: https://github.com/caskdata/cdap/blob/develop/cdap-master/conf/master-env.sh#L31, and therefore JAVA_HEAPMAX is never set

      possible fix: just source master-env.sh here: https://github.com/caskdata/cm_csd/blob/develop/src/scripts/cdap-control.sh#L93

      possible workaround: set MASTER_JAVA_HEAPMAX environment safety valve, or put in the global cdap_java_opts

        Attachments

          Activity

            People

            • Assignee:
              derek Derek Wood
              Reporter:
              derek Derek Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: