[
https://issues.apache.org/jira/browse/AMBARI-16715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weiqing Yang updated AMBARI-16715:
----------------------------------
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
was:
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
> Wrong memory conf in spark-env.xml
> ----------------------------------
>
> Key: AMBARI-16715
> URL: https://issues.apache.org/jira/browse/AMBARI-16715
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Environment: 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
> Reporter: Weiqing Yang
> Priority: Minor
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)