Member since
08-02-2019
9
Posts
0
Kudos Received
0
Solutions
03-10-2020
09:00 AM
Spark jobs which were not getting into the RUNNING state from ACCEPTED State,this is happening when submiting jobs with driver-memory greater that 3G.
Example:
spark-submit --master yarn --deploy-mode cluster --driver-memory 4G --class org.apache.spark.examples.SparkPi /usr/hdp/3.1.5.0-152/spark2/examples/jars/spark-examples_2.11-2.3.2.3.1.5.0-152.jar 10000
Error:
Mon Mar 02 11:33:41 -0500 2020] Application is added to the scheduler and is not yet activated. User's AM resource limit exceeded. Details : AM Partition = <DEFAULT_PARTITION>; AM Resource Request = <memory:6144, vCores:1>; Queue Resource Limit for AM = <memory:71680, vCores:1>; User AM Resource Limit of the queue = <memory:10240, vCores:1>; Queue AM Resource Usage = <memory:6144, vCores:1>;
... View more
Labels:
- Labels:
-
Apache Spark
-
Apache YARN