YARN is a resource manager.
Property Files:
etc/hadoop/conf/yarn-site.xml
etc/spark/conf/spark-env.sh
Useful Property from yarn-site.xml
yarn.resourcemanager.address -> ip:port
yarn.resourcemanager.webapp.address -> ip:port #for UI
Default Settings of spark-env.sh
Spark executors Instance or executors: 2
Spark executors cores: 1
Spark executors memory: 1GB
Comments
Post a Comment