Wednesday, July 31, 2013

Configuring Eclipse to run Map/Reduce program on Your Hadoop Cluster

After setting up your hadoop cluster which we learnt in our earlier blogs( Pseudo Distributed Cluster, Fully Distributed Cluster), we now set up eclipse on ubuntu to develop Map Reduce programs for our Hadoop Cluster. Below are the steps to do so:

  • Install Eclipse on ubuntu, by using $ sudo apt-get eclipse.
  • Next step is to download the Hadoop Eclipse Plugin. Many tutorials suggest to build the plugin jar file Yourself using "ant". Trust me, this method is a quite messy and You may screwup Your hadoop install changing the various build.xml and build-properties.xml files. The best way is to directly download this jar file from here by clicking this line.
  • Next copy the jar file to eclipse/plugins directory. Its going to be /usr/lib/eclipse/plugins in my case.
  • Start eclipse, go to "Window >> Open Perspective >> Other". From perspectives window, you should see “Map/Reduce”, Select it and click "OK".
  • You will see “Map/Reduce” perspective icon at the top right hand corner of the main eclipse panel now, as highlighted below. 

  • Also You see the Map/Reduce Locations tab at the bottom. Go to that tab and add a new location as shown below.

  • In the details form, give any Location Name.Under the Map/Reduce Master section, fill in Host as your cluster's name node host name. In our case, its "master". The port is 9001. Under DFS Master, check the "Use M/R Master host" option and give port as 9000. Under User Name give Your hadoop install user name. Its "hduser" in our case. Now click finish.


  • Now you should see Your newly set-up DFS Locations in project explorer.

Now you are all set with environment for development.

42 comments:

  1. I tried all steps.. copied jar file into plugins directory but there is no change in perspective menu.. help me how can i install it..??

    ReplyDelete
  2. Thank you so much for this post. Its extremely helpful for newbie like me.

    ReplyDelete
  3. https://dl.dropboxusercontent.com/u/27032474/hadoop-eclipse-plugin-0.20.203.0.jar
    can i use this plugin for hadoop-1.0.4

    ReplyDelete
  4. 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 chennai velachery
    Hadoop training velachery

    ReplyDelete
  5. Great post, accurate and to the point for newbies. Impressive!

    ReplyDelete
  6. The content provided here is vital in increasing one's knowledge regarding hadoop, the way you have presented here is simply awesome. Thanks for sharing this. The uniqueness I see in your content made me to comment on this. Keep sharing article like this. Thanks :)

    Hadoop Training in Chennai | Best hadoop training institute in chennai | Big data training in Chennai

    ReplyDelete
  7. This post is very useful to one and informative article i really impressed keep it up for most post selenium training institute in chennai

    ReplyDelete
  8. This post is very useful to one and informative article i really impressed keep it up for most post selenium course in chennai

    ReplyDelete
  9. Good day. I was impressed with your article. Keep it up . You can also visit my site if you have time. Thank you and Bless you always.



    Spark Training Academy Chennai

    ReplyDelete
  10. This post is very useful to one and informative article i really impressed keep it up for most post.
    android training in chennai

    ReplyDelete

  11. Nice it seems to be good post... It will get readers engagement on the article since readers engagement plays an vital role in every blog.i am expecting more updated posts from your hands.
    Android App Development Company
    iOS App Development Company

    ReplyDelete
  12. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Hadoop Training in Chennai

    Hadoop Training in Bangalore

    Big data training in tambaram

    Big data training in Sholinganallur

    Big data training in annanagar

    Big data training in Velachery

    ReplyDelete
  13. 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.
    Devops Training in pune

    Devops Training in Chennai

    Devops Training in Bangalore

    AWS Training in chennai

    AWS Training in bangalore





    ReplyDelete
  14. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    java online training | java training in pune

    java training in chennai | java training in bangalore

    ReplyDelete
  15. Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information..
    Data Science training in Chennai
    Data science training in bangalore
    Data science training in pune
    Data science online training

    ReplyDelete
  16. Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.



    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    AWS Interview Questions And Answers

    Learn Amazon Web Services Tutorial |AWS Tutorials For Beginners

    Amazon Web Services Training in OMR , Chennai | Best AWS Training in OMR,Chennai

    ReplyDelete
  17. Have you been thinking about the power sources and the tiles whom use blocks I wanted to thank you for this great read!! I definitely enjoyed every little bit of it and I have you bookmarked to check out the new stuff you post
    Java training in Bangalore | Java training in Kalyan nagar

    Java training in Bangalore | Java training in Kalyan nagar

    Java training in Bangalore | Java training in Jaya nagar

    ReplyDelete
  18. I really like the dear information you offer in your articles. I’m able to bookmark your site and show the kids check out up here generally. Im fairly positive theyre likely to be informed a great deal of new stuff here than anyone
    python course in pune
    python course in chennai
    python Training in Bangalore

    ReplyDelete
  19. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.

    rpa training in chennai |best rpa training in chennai|
    rpa training in bangalore | best rpa training in bangalore

    ReplyDelete
  20. You’ve written a really great article here. Your writing style makes this material easy to understand.. I agree with some of the many points you have made. Thank you for this is real thought-provoking content
    Data science course in bangalore

    ReplyDelete

  21. Greetings. I know this is somewhat off-topic, but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform like yours, and I’m having difficulty finding one? Thanks a lot.
    Best AWS Training in Chennai | Amazon Web Services Training Institute in Chennai Velachery, Tambaram, OMR
    Advanced AWS Training in Bangalore |Best AWS Training Institute in Bangalore BTMLA ,Marathahalli

    ReplyDelete
  22. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
    microsoft azure training in bangalore
    rpa interview questions and answers
    automation anywhere interview questions and answers
    blueprism interview questions and answers
    uipath interview questions and answers
    rpa training in bangalore

    ReplyDelete
  23. Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting this exclusive post for our vision. 
    Best Devops Training in pune
    Devops Training in Bangalore
    Power bi training in Chennai

    ReplyDelete
  24. Superb article. The great information were shared and keep it up. Home elevators | lifts for home

    ReplyDelete
  25. This post is so interactive and informative.keep update more information...
    German Classes in Velachery
    German Classes in chennai

    ReplyDelete
  26. Trial investment light. Various ready point respond. Reason no generation collection political.career-news

    ReplyDelete
  27. Call view community involve reduce light. Pm describe each by sense. Suffer sense before money factor method go.trending-updates

    ReplyDelete

Popular

Featured

Three Months of Chadhei