Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16757

Spark History Server heap size is not exposed (History Server crashed with OOM)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • ambari-server
    • None

    Description

      Ambari is not exposing the heap size parameter for Spark History Server.
      The workaround is to modify spark-env and add "SPARK_DAEMON_MEMORY=2g" for example.
      The newer versions of Spark defaults this to 1g, but on the older versions, it was defaulting to 512m it seems, and it was causing OOM.
      So in the patch, "SPARK_DAEMON_MEMORY=1G" is added in the spark-env template (default: 1G).

      Attachments

        1. AMBARI-16757-3.patch
          2 kB
          Weiqing Yang
        2. AMBARI-16757-2.patch
          2 kB
          Weiqing Yang
        3. AMBARI-16757-1.patch
          0.9 kB
          Weiqing Yang
        4. AMBARI-16757.ADDENDUM.patch
          1 kB
          Weiqing Yang

        Issue Links

          Activity

            People

              WeiqingYang Weiqing Yang
              WeiqingYang Weiqing Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: