Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.1
    • Component/s: Standalone
    • Labels:
    • Release Notes:
      Increased the maximum Java heap size of the Standalone SDK on Linux systems to 2048m to allow all examples to run.
    • Rank:
      1|hzz1i7:

      Description

      The Standalone "Purchase" example fails to run on the Mac unless the start-up script is modified for more memory:

      # We need a larger PermSize for SparkProgramRunner to call SparkSubmit
      if [ -d /opt/cdap ]; then
       CDAP_HOME=/opt/cdap; export CDAP_HOME
       DEFAULT_JVM_OPTS="-Xmx3072m -XX:MaxPermSize=128m"
      else
      #  DEFAULT_JVM_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
       DEFAULT_JVM_OPTS="-Xmx2048m -XX:MaxPermSize=128m"
      fi
      

        Attachments

          Activity

            People

            • Assignee:
              John John Jackson
              Reporter:
              John John Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: