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

CPU spikes whenever programs are launched

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0, 3.3.7
    • Component/s: App Fabric
    • Labels:
    • Release Notes:
      Improved program launch performance to avoid large cpu spikes when multiple programs are launched at the same time.
    • Rank:
      1|hzzjw7:

      Description

      The root cause is https://issues.apache.org/jira/browse/TWILL-63, but when CDAP starts up a program through twill, twill needs to build an appmaster and container jar, which is costly. If you have a bunch of workflows that all start at the same time, the CDAP master will use large amounts of cpu, generate large amounts of garbage, and potentially hit a stop-the-world garbage collection, potentially causing zookeeper timeouts and other bad things.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: