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

Wrong memory conf in spark-env.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0
    • ambari-server
    • None
    • spark_2_2_4_15_9-master-1.2.1.2.2.4.15-9.el6.noarch
      spark_2_2_4_15_9-python-1.2.1.2.2.4.15-9.el6.noarch
      spark_2_2_4_15_9-worker-1.2.1.2.2.4.15-9.el6.noarch
      spark_2_2_4_15_9-1.2.1.2.2.4.15-9.el6.noarch

    Description

      In spark-env.xml, the memory value should not have space and a extra "b" character. "SPARK_DRIVER_MEMORY="512 Mb" #Memory for Master (e.g. 1000M, 2G) (Default: 512 Mb)", by default this line is commented but in case user uncommented it to change the memory settings then it will show a below error, so it's better to change it in the default template.

      Error:
      ./bin/spark-shell
      Error: Could not find or load main class Mb

      Attachments

        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: