Wednesday 18 March 2015

Apache Spark and Hadoop Integration with example

Step 1 : Install hadoop in your machine  ( 1x or 2x) and also you need to set java path and scala path in .bashrc ( for setting path refer this post Spark installation )

Step 2: Check all hadoop daemons are up running.



Step 3: Write some data in your hdfs (here my file name in hdfs is word)

Step 4: Download apache spark for hadoop 1x or 2x based on you hadoop installed version in step 1.



Step 5: Untar the spark hadoop file.

Step 6: Start the spark hadoop shell.



Step 7: Type the following command.once spark shell started



Step 8: See the Out put In terminal.



Step 9: Check the Namenode UI (localhost:50070)







Step 10: Check the spark UI (localhost:4040) for monitoring the job


79 comments:

  1. There are lots of information about hadoop have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get to the next level in big data. Thanks for sharing this.

    Hadoop Training in Chennai
    Big Data Training in Chennai
    Hadoop training velachery

    ReplyDelete

  2. Nice information about Hadoop.
    The best place to learn hadoop is steinmetzils
    100% Job assurence is provided by them.
    visit: http://www.steinmetzils.com/

    ReplyDelete

  3. Nice information about Hadoop.
    The best place to learn hadoop is steinmetzils
    100% Job assurence is provided by them.
    visit: http://www.steinmetzils.com/

    ReplyDelete
  4. Great Info about spark. I have written some more posts about spark. see here : https://lets-do-something-big.blogspot.in/2016/06/custom-udf-in-apache-spark.html

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Thanks for sharing Valuable information. Greatful Info about hadoop. Really helpful. Keep sharing........... If it possible share some more tutorials.........

    ReplyDelete
  9. Apache Spark today remains the most active open source project in Big Data with over 1000 contributors. Spark offers over 80 high-level operators that make it easy to build parallel apps
    apache spark developer training

    ReplyDelete
  10. Great information. Learn Hadoop from SV Soft Solutions. They have experts to teach Hadoop with real time examples. You can check Hadoop Curriculum at their website. Our trainers feed you with the best training materials , hadoop online training &online sessions and a real time scenario.

    ReplyDelete
    Replies
    1. The trainer contact number is +1-845-915-8712, +91-9642373173

      Delete
  11. The Example about the apache spark and hadoop integeration was very much useful my sincere thanks for sharing this post
    Hadoop Training in Bangalore

    ReplyDelete
  12. I definitely appreciate your blog. Excellent work!
    startups

    ReplyDelete
  13. It is really a great work and the way in which you are sharing the knowledge is excellent.Thanks for your informative article
    selenium training in bangalore|
    python training in bangalore|

    ReplyDelete
  14. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    digital training in chennai

    ReplyDelete
  15. your giving the nice information about the big data, Hadoop this is very essential for the peoples. In future also post this type of information.
    http://www.kellytechno.com/Bangalore/Course/Hadoop-Training

    ReplyDelete
  16. your giving the nice information about the big data, Hadoop this is very essential for the peoples. In future also post this type of information.
    http://www.kellytechno.com/Bangalore/Course/Hadoop-Training

    ReplyDelete
  17. Hai,
    It's very nice blog
    Thank you for giving valuable information on Hadoop
    I'm expecting much more from you...

    ReplyDelete
  18. Best Topic in the Big data training... Nice & Appreciable Blog

    Aptron India

    ReplyDelete
  19. Hi,

    I have read your Hadoop blog it's very attractive and impressive. I like it your blog....

    Thank you
    priya

    ReplyDelete
  20. Nice post.Very useful and informative one.Keep sharing
    Big Data Training in Gurgaon

    ReplyDelete
  21. Thanks for sharing this blog post. Its very informative blog. big data hadoop institution in chennai

    ReplyDelete
  22. Thanks for sharing this blog. This very important and informative blog for Hadoop etc
    I really loved reading this. Keep it up.!!
    Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind.
    Very interesting and useful blog!
    Best Hadoop training in gurgaon

    ReplyDelete
  23. Thanks for sharing this blog. This very important and informative blog for Hadoop etc
    I really loved reading this. Keep it up.!!
    Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind.
    Very interesting and useful blog!
    Best Hadoop training in gurgaon

    ReplyDelete
  24. Thanks for sharing this article about apache spark and hadoop...
    Hadoop Training in Hyderabad

    ReplyDelete
  25. Hello....your blog is awesome and thanks for Posting. i read your content thats very interesting so please keep it up.
    Hadoop Training Classes in Gurgaon

    ReplyDelete
  26. Thanks For Sharing the Nice Information About the Top Bigdata.I have read a lot of blogs about the Bigdata. But your Blog has the cool information.The information that you shared is very helpful for me.
    http://www.kellytechno.com/Hyderabad/Course/Hadoop-Training

    ReplyDelete
  27. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this. Big Data Training Institute in Chennai

    ReplyDelete
  28. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Hadoop training in Gurgaon



    ReplyDelete
  29. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Hadoop training in Gurgaon



    ReplyDelete
  30. Nice blog. Really helpful for learning Big Data Training and keep update on some more tutorials….. I liked your blog.

    ReplyDelete
  31. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Hadoop Training

    ReplyDelete
  32. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Hadoop Training

    ReplyDelete

  33. Thank you for your post. This is excellent information. It is amazing and

    wonderful to visit your site.
    big data and analytic solutions

    ReplyDelete
  34. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    big data & analytics services in NA

    ReplyDelete
  35. easily understandable information with above example for all people:)

    ReplyDelete
  36. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    Iphone training course

    ReplyDelete
  37. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    Iphone training course

    ReplyDelete
  38. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    Iphone training course

    ReplyDelete
  39. This comment has been removed by the author.

    ReplyDelete
  40. Nice information about Hadoop. Thank you For Sharing. For More About hadoop admin training in pune Visit: https://technogeekscs.com/

    ReplyDelete
  41. Its nice information . apart from the text graphical information is more effective .

    ReplyDelete
  42. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    sap supplier diversity management services
    Big Data Analytics Consulting for Hadoop

    ReplyDelete
  43. nice information sir, if you want to see best hadoop training institute in hyderabad visit us @ vr it solutions

    ReplyDelete

  44. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    Best iphone training in hyderabad

    ReplyDelete
  45. Great post. Thank you for sharing such useful information. Please keep sharing
    Big Data Training in Delhi

    ReplyDelete
  46. good post thanks for sharing please keeep share like this
    hadoop training in hyderabad

    ReplyDelete
  47. Hi, Thanks for sharing the information. This information will really help us a lot.
    Hadoop Training in Hyderabad

    ReplyDelete
  48. Hi, Thanks for sharing the information. This information will really help us a lot.

    Hadoop Training in Hyderabad

    ReplyDelete
  49. thanks for the post the bigdata installation was given in simplified manner and very understandable ,good job
    Hadoop Training in Velachery | Hadoop Training .

    ReplyDelete
  50. thanks for the post the bigdata installation was given in simplified manner and very understandable ,good job
    Hadoop Training in Velachery | Hadoop Training .

    ReplyDelete
  51. Privileged to read this informative blog on Hadoop.Commendable efforts to put on research the hadoop. Please enlighten us with regular updates on hadoop. Friends if you're keen to learn more about AI you can watch this amazing tutorial on the same.
    https://www.youtube.com/watch?v=1jMR4cHBwZE

    ReplyDelete
  52. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.

    big data training in chennai


    ReplyDelete
  53. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.

    big data training in chennai


    ReplyDelete
  54. big data training institutes in Bangalore gives the students in-depth knowledge regarding this happening subject so that they can take their training and apply it where needed. Some highly qualified people take classes at the spark training institutes in Bangalore so that the students can learn the subject thoroughly complete with practical applications. http://www.npntraining.com/courses/apache-spark-scala-training.php

    ReplyDelete
  55. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    sas analytics training

    ReplyDelete
  56. This comment has been removed by the author.

    ReplyDelete
  57. A great example you have cleared now after long days i have been looking.

    Big data training in chennai

    ReplyDelete
  58. Hi,
    Good Information,Thanks for sharing the topic on apache spark and hadoop integration.it is very useful to all spark and hadoop developers.nice blog
    Spark Training in Hyderabad

    ReplyDelete
  59. Thanks for sharing this Informative content.
    Big Data Training in Delhi

    ReplyDelete
  60. Thanks for posting the useful information to my vision. This is excellent information
    Awesome,
    big data analytics consulting companies
    big data and analytic solutions

    ReplyDelete
  61. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    sap business intelligence services

    ReplyDelete
  62. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    with Placement assistance

    ReplyDelete
  63. Thanks for sharing this great information- https://www.madridsoftwaretrainings.com/hadoop.php

    ReplyDelete
  64. Such a nice post, I like your Post.This is too much informational. Typistpool Analytics can play a main role in resolving some realistic hard business difficulties. Typistpool provide best quality data analytics consulting services including data tabulation, data collation, data visualization, data discovery.

    ReplyDelete
  65. This Big Data Admin Hadoop training course is a comprehensive training designed by industry experts considering current industry job requirements to provide in-depth learning on Big Data and Hadoop Admin Modules. Cloud Lab access will be provided for a month.

    To know for more result please visit once - http://www.knowledgeera.co.in/training/Big-Data-Hadoop/11

    ReplyDelete