Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Yarn memory is zero

avatar
New Member

Can someone guide me on why YARN is utilizing zero out of 16.5 ? If this is an error how can I fix this ?

77485-yarn.png

77487-yarn2.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Victor

You can get detailed explaination about Yarn "Cluster Memory" in the following thread.

https://community.hortonworks.com/questions/144325/why-my-cluster-memory-is-less-even-though-physica...

Regaarding 0 (Zero Memory utiliaztion). Until you run a job you wont see the memory being utilized.

So please try running some job like following and then refresh the ambari Yarn dashboard.

# su - spark
# export SPARK_MAJOR_VERSION=2
# cd /usr/hdp/current/spark2-client
#  ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --num-executors 3 --driver-memory 512m --executor-memory 512m --executor-cores 1 examples/jars/spark-examples*.jar 10

.

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Victor

You can get detailed explaination about Yarn "Cluster Memory" in the following thread.

https://community.hortonworks.com/questions/144325/why-my-cluster-memory-is-less-even-though-physica...

Regaarding 0 (Zero Memory utiliaztion). Until you run a job you wont see the memory being utilized.

So please try running some job like following and then refresh the ambari Yarn dashboard.

# su - spark
# export SPARK_MAJOR_VERSION=2
# cd /usr/hdp/current/spark2-client
#  ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --num-executors 3 --driver-memory 512m --executor-memory 512m --executor-cores 1 examples/jars/spark-examples*.jar 10

.