Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-6327

Improve setting memory for cdap master/router processes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.5.0
    • Component/s: Kafka, Master, Router, Security
    • Labels:
      None
    • Release Notes:
      Allow specifying individual Java heap sizes for Java services in cdap-env.sh
    • Rank:
      1|hzzf5r:

      Description

      /opt/cdap/gateway/conf/router-env.sh has the following line:

      export JAVA_HEAPMAX=${ROUTER_JAVA_HEAPMAX:--Xmx1024m}
      

      However, we don't allow users to specify memory setting for just router via cdap-env.sh. In other words, this isn't supported/respected:

      export ROUTER_JAVA_HEAPMAX=-Xmx4096m
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris Chris Gianelloni
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: