To deploy the Spark Cluster in the Standalone Mode, run the following script present in the Spark Setup on the cluster's Master node
bin/start-all.sh
If everything is fine, the Spark Master UI should be accessible on port 8083 (or as per the specification provided in "spark-env.sh". In case of no explicit specification, default port is 8080) of the Master node.
Run a Spark Application
Simple Spark applications such as Word Count are available in "spark-0.7.x/examples/src/main/java/spark/examples".
Most of them expect as an argument the "master" on which to run the application, which needs to be "local" when running on a system locally and "spark://MASTER_IP:PORT" (for example spark://192.10.0.3:7077) when running in Standalone mode.
The job submitted should appear on the Spark Master's Web UI as well.
Deploy the Mesos Cluster
If the Spark is to be run over a cluster managed by Mesos. For this, a Mesos cluster needs to be deployed, steps for which are available in the "Setting up a Mesos Cluster" post.
To start a Mesos Cluster, execute the command below on the Mesos Master:
/usr/local/sbin/mesos-start-cluster.sh
If all goes well, Mesos's web UI should be visible on port 8080 of the master machine.
Run a Spark Application over Mesos
To run the Spark applications over the Mesos Cluster, specify "mesos://MASTER_IP:PORT" as the value of the "master" argument. A sample of the URL could be "mesos://192.10.0.3:5050".
The job submitted should appear on the Mesos Master's Web UI as well.
Thanks for your excellent guide man
ReplyDeleteSpark Training Academy Chennai
Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays. Well written article Thank You for Sharing with Us pmp training Chennai | pmp training centers in Chenai | pmp training institutes in Chennai | pmp training and certification in Chennai | pmp training in velachery
ReplyDeleteNice blog information provided by the author
ReplyDeleteSanjary Kids is one of the best play school and preschool in Hyderabad,India. Give your child the best preschool experience by choosing the best playschool of Hyderabad in Abids. we provide programs like Play group,Nursery,Junior KG,Senior KG,and provides Teacher Training Program.
Preschool teacher training course in hyderabad
Excellent explanation of the topic
ReplyDeleteSanjary Academy is the best Piping Design institute in Hyderabad, Telangana. It is the best Piping design Course in India and we have offer professional Engineering Courses like Piping design Course, QA/QC Course, document controller course, Pressure Vessel Design Course, Welding Inspector Course, Quality Management Course and Safety Officer Course.
Piping Design Course
Piping Design Course in Hyderabad
Piping Design Course in India
Great information of the blog and clearly understandable
ReplyDeleteSanjary Academy provide pressure vessel design, quality management system course piping design course, qa/qc course and document controller course.
Welding Inspector Course
Safety officer course
Quality Management Course
Quality Management Course in India
Download Video Player | Windows Media Player | Best Media Player
ReplyDeleteNice Information, your blog is sharing unique information...
ReplyDeleteThanks for sharing!!!
svkm univeristy date sheet
Your blog offers a wealth of knowledge.
ReplyDeletedigital marketing courses in patna with placements
This blog post on deploying Spark 0.7.x clusters is insightful for anyone diving into big data processing. As someone keen on enhancing digital marketing strategies, I see a valuable connection. Leveraging big data tools like Apache Spark can significantly improve targeted marketing efforts. For those interested in advanced data analytics and its application in Digital Marketing Course In Noida By Digiperform offers comprehensive training. Check out our digital marketing course to integrate data-driven insights into your marketing strategies seamlessly!
ReplyDelete